Changes between Version 6 and Version 7 of GettingStartedWithFeeds


Ignore:
Timestamp:
Jun 22, 2006, 4:27:46 PM (15 years ago)
Author:
nick
Comment:

Locale/Category? listings

Legend:

Unmodified
Added
Removed
Modified
  • GettingStartedWithFeeds

    v6 v7  
    11It is really very easy to get feeds out of openguides. In fact, many openguides will include RSS links all over the place, just to help you.
    22
    3 Generally speaking, just adding ''{{{ ;format=rss }}}'' onto a normal url is all that is required to get an RSS feed of that page.
     3Generally speaking, just adding ''{{{ ;format=rss }}}'' or ''{{{ ;format=atom }}}'' onto a normal url is all that is required to get an RSS or Atom feed of that page.
    44
    5 == Recent Changes ==
     5= Recent Changes =
    66
    77You can get to the recent changes list by adding ''{{{ ?action=rc }}}'' onto the wiki link, and then the RSS feed by adding ''{{{ ?action=rc;format=rss }}}'' or the Atom feed by adding ''{{{ ?action=rc;format=atom }}}''. For example, [http://cotswolds.openguides.org/wiki/wiki.cgi?action=rc] becomes [http://cotswolds.openguides.org/wiki/wiki.cgi?action=rc;format=rss].
     
    2525It is also possible to constrain recent edits to just one user. Such feeds will contain all the information above, but be specific to just one editor. Simply add ''{{{ ;username=(User) }}}'' to the link, eg [http://cotswolds.openguides.org/wiki/wiki.cgi?action=rc;format=rss;username=NickBurch]
    2626
    27 == Searches ==
     27= Searches =
    2828
    2929When searching, like with recent changes, you can request the RSS version of the search results. ''Details to follow''
    3030
    31 == Normal Pages (Nodes) ==
     31= Normal Pages (Nodes) =
    3232
    3333=== Metadata ===
     
    5555To request this, just add ''{{{ ;format=rss }}}'' or ''{{{ ;format=atom }}}'' to the end of the node versions url. For example, [http://cotswolds.openguides.org/wiki/wiki.cgi?action=list_all_versions;id=John_Brain_Butchers] becomes [http://cotswolds.openguides.org/wiki/wiki.cgi?action=list_all_versions;id=John_Brain_Butchers;format=atom]
    5656
    57 == Everything ==
     57= Locale / Category Listings =
     58
     59It is possibly to get a feed of all the nodes in a locale or category, or even a list of all the locales and categories. This is done through ''{{{ action=index }}}''. These listings are available as rss, atom or rdf, with a suitable format parameter. Use the parameter ''{{{ index_type=.... }}}'' to select either category or locale, an put the category/locale name in ''{{{ index_value=....}}}''.
     60
     61 * To get all the nodes in the Category Restaurants, use ''{{{ action=index;index_type=category;index_value=Restaurants;format=rss }}}'' eg [http://cotswolds.openguides.org/wiki/wiki.cgi?action=index;index_type=category;index_value=Restaurants;format=rss]
     62 * To get all the Categories that there are, us ''{{{ action=index;index_type=category;index_value=Category;format=atom }}}'' eg [http://cotswolds.openguides.org/wiki/wiki.cgi?action=index;index_type=category;index_value=Category;format=atom]
     63*
     64
     65= Everything =
    5866
    5967Sometimes, you want to dump out a whole guide in an XML format, eg when importing into something else. ''Details to follow''