Wikipedia:Syndication

(Redirected from Wikipedia:XML feeds)

Various aspects of Wikipedia can be monitored with RSS or Atom feeds to make it easier to keep track of changes.

Atom (1.0) feeds

edit
  • Changes to any Wikipedia article: go to the article's history page and use the toolbox link labeled "Atom" to subscribe to this feed
  • Recent changes (alternatively: go to Special:RecentChanges and use the toolbox link labeled "Atom" to subscribe to this feed)
  • New pages (alternatively: go to Special:NewPages and use the toolbox link labeled "Atom" to subscribe to this feed)
  • User watchlist feed; watchlist with all changes (not just the most recent)
  • Contribution pages for a specific user: go to the user's contribution page and use the toolbox link labeled "Atom" to subscribe to this feed

RSS feeds

edit

Watchlist feed with token

edit

You can set up an RSS or Atom feed of your watchlist that is accessible even when logged out:[1]

  1. Go to Special:Preferences
  2. Click the "Watchlist" tab
  3. Go to the "Token" section and click the "Manage tokens" button
  4. On this "Reset tokens" page, copy and paste the randomly-generated value token value for the next step[2]
  5. Your watchlist RSS feed can be found at https://en.wikipedia.org/w/api.php?action=feedwatchlist&wlowner=USERNAME&wltoken=TOKEN, where USERNAME is your username without the User: prefix and TOKEN is the watchlist token you copied from your preferences. If you would prefer an Atom feed rather than an RSS one, add "&feedformat=atom" to the Link of your feed.
  6. Similar to your watchlist preferences, the feed of your watchlist can be customized by adding different parameters to the link of your feed, see documentation on Mediawiki. e.g. &hours=72&wlexcludeuser=USERNAME to display the maximum length and to exclude your own changes.

XML exports

edit

You can export the contents of a particular article or set of articles in XML format via the Special:Export page. This special page allows exporting the history of the page as well (up to 1000 revisions). Test out the full-history export on a page with a short history, to make sure you know what you are getting.

See also

edit

References

edit
  1. ^ Kristian Risager Larsen (2009-09-24). "Personal watchlist through RSS from Wikipedia". Archived from the original on 2010-05-15. Retrieved 2010-03-18.
  2. ^ "⚓ T184278 Subscribing to the Atom feed of "Watchlist" for the first time requires resetting token?". phabricator.wikimedia.org. Archived from the original on 5 June 2020. Retrieved 5 June 2020.
edit

Scraped feeds from Wikipedia pages: