Skip to content

Instantly share code, notes, and snippets.

@njahn82
Last active April 14, 2016 18:50
Show Gist options
  • Select an option

  • Save njahn82/289732c8f3eb5ccb0893561bd7927c18 to your computer and use it in GitHub Desktop.

Select an option

Save njahn82/289732c8f3eb5ccb0893561bd7927c18 to your computer and use it in GitHub Desktop.
Libreas Feed
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/">
<channel rdf:about="http://libreas.eu">
<title>LIBREAS.Library Ideas - Articles</title>
<description>Open Access Library and Information Science Journal</description>
<prism:issn>1860-7950</prism:issn>
<link>http://libreas.eu</link>
<items>
<rdf:Seq>
{% for page in site.pages %}
{% unless site.static_files %}
<rdf:li resource="{{ site.url }}{{ page.url }}" />
{% endunless %}
{% endfor %}
</rdf:Seq>
</items>
</channel>
{% for page in site.pages %}
{% unless page.link %}
<item rdf:about="{{ site.url }}{{ page.url }}">
{% if page.title %}
<dc:title>{{ page.title | xml_escape }}</dc:title>
{% endif %}
{% for author in page.contributor %}
<dc:creator>{{ author | xml_escape }}</dc:creator>
{% endfor %}
{% if page.year %}
<dc:date>{{ page.year }}</dc:date>
{% endif %}
<dc:format>text/html</dc:format>
<dc:identifier>{{ site.url }}{{ page.url }}</dc:identifier>
{% if page.noncc %}
<dc:rights>{{ page.noncc | xml_escape }}</dc:rights>
{% else %}
<dc:rights>https://creativecommons.org/licenses/by/3.0/</dc:rights>
{% endif %}
<dc:source>LIBREAS. Library Ideas</dc:source>
<dc:subject>Library and Information Science</dc:subject>
{% if page.abstract %}
<description>{{ page.abstract | xml_escape }}</description>
{% endif %}
</item>
{% endunless %}
{% endfor %}
</rdf:RDF>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment