FANDOM


DCDBFeed

A Discussions activity feed from the DC Database

The discussions activity feed can be added to any wiki page, and it showcases recent posts from Discussions.

Step by step

Add the feed to a page by using this wikitext tag while using the source edit mode: <discussions />.

Parameters are available to make adjustments to the layout and content shown on the feed - see below for details. Configuring the feed to showcase a specific category or categories is an ideal way to draw attention to specific types of conversations on your community.

The feed will dynamically adjust to the width of the page, or to the width of the container in which it is placed. If placing the feed in the main page right column or a similarly narrow container, it is best to use the one-column layout.

Parameters

Type Syntax Options Default setting
Layout options
Number of columns columns="[number of columns]" Can be 1 or 2 1
Number of posts size="[number of posts]" Minimum is 3
Maximum is 6
4
Content options
Sort
(Trending or Latest)
mostrecent="true"
Adding this parameter will sort the feed according to the date of the first post (i.e. Latest) false (Trending is the default)
Category filter catid="[category ID]"
Multiple categories can be listed by separating individual IDs with commas. See below for details on how to determine a category's ID With no ID or IDs specified, the feed will include content from all categories.

Finding the category ID

To find the ID of a Discussions category, simply filter the main Discussions list to show only that category. Then look at the URL displayed in the browser's address bar at the top. The category ID is a string of numbers displayed after ?catId=

FalloutWikiCategoryURL

A Discussions category ID shown in the browser address bar, after filtering the view for a specific category.


Examples

Display the top four trending posts from all categories in a single column:

<discussions />

Display the top six trending posts from all categories in a two-column layout:

<discussions columns="2" size="6" />

Display the six most recent posts from a specific category in a two-column layout:

<discussions columns="2" size="6" mostrecent="true" catid="2817509675979769579" />

Display the six most recent posts from two specific categories in a two-column layout:

<discussions columns="2" size="6" mostrecent="true" catid="2817509675979769579,172635465752212678" />

Further help and feedback

Community content is available under CC-BY-SA unless otherwise noted.
https://adamlambert.fandom.com/wiki/Help:Discussions_activity_feed
adamlambert.fandom.com
crawl=CC-MAIN-2019-43
188540
application/http; msgtype=response
sha1:P4GAKYZZOEXWEPPE7YGNQIEK2MKFRSHD
<urn:uuid:c9c7aadb-bd9c-448a-9fd6-ab1da344d7b6>
2019-10-16T07:14:53Z
151.101.128.194
text/html
sha1:N6JSQFGGMPFFALPQNOXBKOBVM4DF3DWK
<urn:uuid:a0bd91e9-3c1e-45c6-a06a-a536de15a95d>
https://adamlambert.fandom.com/wiki/Help:Discussions_activity_feed
response
<urn:uuid:a00fd454-f49b-4814-9ec8-29974e7e69d4>
isPartOf: CC-MAIN-2019-43
publisher: Common Crawl
description: Wide crawl of the web for October 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-144.ec2.internal
software: Apache Nutch 1.16 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/