Up to:
UkMovingToMir |
ImcUk
RSS
This page has a proposed RSS strategy for the new Mir site, some things have been implemented, others haven't... it should probably be turned into a
UkRss? page documenting what is done...
RSS Exports
This section of the page has info on the proposed RSS feed that will be generated by the UK IMC site.
Old feeds
The old feeds are in several RSS and XML formats, for the new feeds I think it is safe to stuck with RSS 1.0. Redirects will need setting up from the old addresses to the new ones.
Active UK site feeds
These are the feeds that were on the Active UK site:
Global site feeds
These are on the global site:
The incoming RSS feeds are pulled into newswire on
http://indymedia.org when a local group sets it RSS feed in the indymedia contact database
http://contact.indymedia.org which every group has a login for given at time of filling in new imc form. But IMCUK ones do not show due to a bug in way script runs on indymedia.org which mis reads dates on MIR feeds (now fixed but still other oddities in this).
New feeds
These are the RSS feeds I think we should have on the new site, the ones marked with a
? are perhaps unnecessary...
UK wide feeds
Feature and newswire feeds
Media feeds
Topic feeds
Action feeds
Regional feeds
Feature and newswire feeds
Topic feeds ?
Action feeds ?
RSS Imports
Mir has the ability to import RSS feeds, so, for example we
could have boxes with HTML formatted feeds from other sites on the following pages.
- /en/newswire/archive.html could have the Bristol newswire RSS on it
- /en/regions/world/ could have the www.indymedia.org features RSS feed on it
I think this needs more though, especially where to put feeds like the Bristol one -- hiding them on archive pages isn't such a great idea...
Other things...
Friend of a friend metadata - foaf
Dan has written up a
proposal to use foaf metadata with dc:creator in the RSS feeds.
RSS by email
Michiel has written
a PHP script sending email about updates to feeds.
Wishlist
Stuff that would be neat to do someday...
Elements for existing feeds
This additional metadata could be included in the RSS feeds, this is an update of
an older wishlist.
dc:type
http://dublincore.org/documents/dcmi-terms/#type
<dc:type>Text</dc:type>
Out of the
current list of DC Types;
Text,
Sound and
Image match well with the text, audio, image and video types that Mir uses,
however the type should be the type of the resource at the dc:identifier (and RSS link) URI - so types other than Text probably don't make sense at this stage...
dc:format
http://dublincore.org/documents/dcmi-terms/#format
<dc:format>text/html; charset=UTF-8</dc:format>
The MIME type and character set of the document, this should be easy to add
dc:subject
http://dublincore.org/documents/dcmi-terms/#subject
<dc:subject>Gender, Health</dc:subject>
This can be a comma seperated list of the Mir Topics or we could have a
dc:subject element per subject (this would go against the spec, but everybody agrees the spec is broken...).
UK RSS feeds do now contain dc:subject elements, ee also:
DcSubject
dc:coverage
http://dublincore.org/documents/dcmi-terms/#coverage
<dc:coverage>Sheffield, World</dc:coverage>
This can be a comma seperated list of Mir Regions, again these could be seperate elements...
dc:date
http://dublincore.org/documents/dcmi-terms/#date
<dc:date>2002-10-30T17:49:05Z</dc:date>
This would be the date the article was created.
dcterms:created
http://dublincore.org/documents/dcmi-terms/#created
<dcterms:created>2002-10-30T17:49:05Z</dcterms:created>
This would be the date the article was created, duplication
dc:date because more applications have dc support than dcterms.
dcterms:modified
http://dublincore.org/documents/dcmi-terms/#modified
<dcterms:modified>2002-11-30T17:49:05Z</dcterms:modified>
The date the article was last modified.
dcterms:hasVersion
http://dublincore.org/documents/dcmi-terms/#hasVersion
<dcterms:hasVersion
rdf:resource="http://uk.indymedia.org/en/shefield/2003/04/254981.pdf">
The URI of the PDF version of documents.
dc:rights
http://dublincore.org/documents/dcmi-terms/#rights
Ideally users would have a select list of open/free liciences to choose from... Space Bunny has written
some stuff on this
A feed per article
If each article had a feed then each comment could be an
<item> and each image, audio and video item could also be a
<item>, in fact
all the content could probably be represented in an XML RDF format in this manner...
Links to the RSS
Links like this will need adding to the
<head> elements:
<link
rel="syndication"
href="features.rss"
type="application/xml"
hreflang="en"
title="UK Indymedia Features RSS Feed"
>
And also I think we should have a XML icon link like this for the features feed:
<a
href="features.rss"
type="application/xml"
hreflang="en"
title="UK Indymedia Features RSS Feed"
><img src="xml.gif" alt="XML"></a>
Apache config
This will need adding to the Directory section of the httpd.conf file:
AddType 'application/xml; charset=utf-8' .rss
And this for doing Redirects:
RedirectPermanent /newswire.rss http://www.indymedia.org.uk/en/newswire.rss
RedirectPermanent /features.1-0.rdf http://www.indymedia.org.uk/en/features.rss
RedirectPermanent /features.0-91.rdf http://www.indymedia.org.uk/en/features.rss
RedirectPermanent /features.0-9.rdf http://www.indymedia.org.uk/en/features.rss
Documentation
We should create a document explaining all the RSS feeds...
Reference
The
RSS 1.0 specification, the
RSS Validator and a handy
online RSS viewer.
to top