P2P Foundation RSS Feeds: Difference between revisions

From P2P Foundation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 32: Line 32:
==Creating Category Feeds==
==Creating Category Feeds==
We use [http://www.mediawiki.org/wiki/Extension:GoogleNewsSitemap GoogleNewsSitemap] to create category feeds on the site.  Edit this page to see examples of how they are created.
We use [http://www.mediawiki.org/wiki/Extension:GoogleNewsSitemap GoogleNewsSitemap] to create category feeds on the site.  Edit this page to see examples of how they are created.
===Examples===
====P2PCC Category RSS Feed====
This feed shows the most recent 10 articles that were added to the P2PCC category in an RSS feed.  It hides errors, and also includes redirected pages.
  *[[Special:GoogleNewsSitemap/&category=P2PCC | P2PCC RSS Feed]]
Code for example:
<pre><nowiki>
*[[Special:GoogleNewsSitemap/&category=P2PCC | P2PCC]]
</nowiki></pre>


===Options for Category Feeds===
===Options for Category Feeds===
You can use the following options to create a feed.  All of these should be in a single line with no spaces.  Check the examples below if you have questions.  Parameters in [ ] are optional, stuff in ( ) means potential choices.  The extension uses (basically) the same parameters as [http://www.mediawiki.org/wiki/Extension:DynamicPageList_(Wikimedia) DPL] so that's a good place to look for clarification.
You can use the following options to create a feed.  These are not necessary though and simply posted here for reference.  I fyou need to override the defaults you can do so with the following parameters.  All of these should be in a single line with no spaces.  Check the examples below if you have questions.  Parameters in [ ] are optional, stuff in ( ) means potential choices.  The extension uses (basically) the same parameters as [http://www.mediawiki.org/wiki/Extension:DynamicPageList_(Wikimedia) DPL] so that's a good place to look for clarification.
<pre><nowiki>
<pre><nowiki>
*[/(rss|atom|sitemap)]
*[/(rss|atom|sitemap)]
Line 49: Line 59:
*[&usecurid=true]
*[&usecurid=true]
</nowiki></pre>
</nowiki></pre>
===Examples===
====Governance Category RSS Feed====
This feed shows the most recent 10 articles that were added to the Governance category in an RSS feed.  It hides errors, and also includes redirected pages.
Governance Category RSS Feed  [[Special:GoogleNewsSitemap[/(rss)][&category=P2PCC][&count=10][&ordermethod=categoryadd][&order=descending][&redirects=only][&supresserrors=true]]
Code for example:
<pre><nowiki>
*Governance Category RSS Feed [[Special:GoogleNewsSitemap[/(rss)][&category=P2PCC][&count=10][&ordermethod=categoryadd][&order=descending][&redirects=only][&supresserrors=true]]
</nowiki></pre>
<pre><nowiki>
All values present:
http://example.com/w/index.php?title=Special:GoogleNewsSitemap[/(rss|atom|sitemap)][&category=Catname][&notcategory=OtherCatName][&namespace=0][&count=10][&ordermethod=lastedit][&order=ascending][&redirects=only][&stablepages=only][&qualitypages=only][&supresserrors=true][&usenamespace=true][&usecurid=true]
</nowiki></pre>


<pre><nowiki>
<pre><nowiki>

Latest revision as of 13:49, 10 August 2010

From the P2P Foundation Blog

  • Follow the feeds from the P2P Foundation's Main Blog

RSS Feeds from the P2P Foundation Community Site

  • All latest activity
  • All forum entries
  • All blog entries
  • Latest Video

From the P2P Foundation Wiki

  • For advanced users
    • History of a page
    • DIY - This is possible for every page. The link below gives you the changes for this page. Use the code on the next line in your page to give you a link especially for that page.
    • Atom:
    • {{SERVER}}{{localurl:{{FULLPAGENAME}}|action=history&feed=atom}}

Creating Category Feeds

We use GoogleNewsSitemap to create category feeds on the site. Edit this page to see examples of how they are created.

Examples

P2PCC Category RSS Feed

This feed shows the most recent 10 articles that were added to the P2PCC category in an RSS feed. It hides errors, and also includes redirected pages.

 * P2PCC RSS Feed

Code for example:

*[[Special:GoogleNewsSitemap/&category=P2PCC | P2PCC]]

Options for Category Feeds

You can use the following options to create a feed. These are not necessary though and simply posted here for reference. I fyou need to override the defaults you can do so with the following parameters. All of these should be in a single line with no spaces. Check the examples below if you have questions. Parameters in [ ] are optional, stuff in ( ) means potential choices. The extension uses (basically) the same parameters as DPL so that's a good place to look for clarification.

*[/(rss|atom|sitemap)]
*[&category=Catname]
*[&notcategory=OtherCatName]
*[&namespace=0][&count=10]
*[&ordermethod=lastedit]
*[&order=ascending]
*[&redirects=only]
*[&stablepages=only]
*[&qualitypages=only]
*[&supresserrors=true]
*[&usenamespace=true]
*[&usecurid=true]