Difference between revisions of "P2P Foundation RSS Feeds"

From P2P Foundation
Jump to navigation Jump to search
Line 51: Line 51:
 
===Examples===
 
===Examples===
 
====Governance Category RSS Feed====
 
====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.
+
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.
Governance Category RSS Feed  [[Special:GoogleNewsSitemap/rss&category=P2PCC&count=10&ordermethod=categoryadd&order=descending&redirects=include&supresserrors=true]]
+
  *[[Special:GoogleNewsSitemap/rss&category=P2PCC&count=10&ordermethod=categoryadd&order=descending&redirects=include&supresserrors=true | P2PCC Category RSS Feed]]
  
 
Code for example:
 
Code for example:
 
<pre><nowiki>
 
<pre><nowiki>
*Governance Category RSS Feed [[Special:GoogleNewsSitemap[/(rss)][&category=P2PCC][&count=10][&ordermethod=categoryadd][&order=descending][&redirects=only][&supresserrors=true]]
+
*[[Special:GoogleNewsSitemap/rss&category=P2PCC&count=10&ordermethod=categoryadd&order=descending&redirects=include&supresserrors=true | P2PCC Category RSS Feed]]
 
</nowiki></pre>
 
</nowiki></pre>
  
 
<pre><nowiki>
 
<pre><nowiki>
All values present:
+
All parameters 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]
+
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>
 
</nowiki></pre>
  

Revision as of 13:14, 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.

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 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]

Examples

Governance 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 Category RSS Feed

Code for example:

*[[Special:GoogleNewsSitemap/rss&category=P2PCC&count=10&ordermethod=categoryadd&order=descending&redirects=include&supresserrors=true | P2PCC Category RSS Feed]]
All parameters present:
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]