SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 4788bb47 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix HTML in feeds

parent 2d516373
No related branches found
No related tags found
No related merge requests found
{{obj.in_issue.in_volume.in_journal.get_abbreviation_citation}} <strong>{{obj.in_issue.in_volume.number}}</strong>, {{obj.get_paper_nr}} ({{obj.publication_date|date:'Y'}}), by {{ obj.author_list }}
{{obj.in_issue.in_volume.in_journal.get_abbreviation_citation}} {{obj.in_issue.in_volume.number}}, {{obj.get_paper_nr}} ({{obj.publication_date|date:'Y'}}), by {{ obj.author_list }}
......@@ -13,23 +13,23 @@
<h2>News feeds</h2>
<p>
We provide both RSS (2.0) and Atom feeds for latest news and announcements.
The URL of the RSS feed is <a href="https://scipost.org/rss/news/">https://scipost.org/rss/news/</a>.
The URL of the Atom feed is <a href="https://scipost.org/atom/news/">https://scipost.org/atom/news/</a>.
The URL of the RSS feed is <a href="{% url 'scipost:feeds_rss_news' %}">https://scipost.org/rss/news/</a>.
The URL of the Atom feed is <a href="{% url 'scipost:feeds_atom_news' %}">https://scipost.org/atom/news/</a>.
</p>
<h2>Publications feeds</h2>
<p>
Similarly, we provide feeds for the latest publications.
The URL of the general RSS feed is <a href="https://scipost.org/rss/publications/">https://scipost.org/rss/publications</a>.
The URL of the general Atom feed is <a href="https://scipost.org/atom/publications/">https://scipost.org/atom/publications/</a>.
The URL of the general RSS feed is <a href="{% url 'scipost:feeds_rss_publications' %}">https://scipost.org/rss/publications</a>.
The URL of the general Atom feed is <a href="{% url 'scipost:feeds_atom_publications' %}">https://scipost.org/atom/publications/</a>.
</p>
<p>You can also obtain feeds only for any specific specialization by using the links in the table below.</p>
<h2>Submissions feeds</h2>
<p>
We also provide feeds for the latest submissions.
The URL of the general RSS feed is <a href="https://scipost.org/rss/submissions/">https://scipost.org/rss/submissions</a>.
The URL of the general Atom feed is <a href="https://scipost.org/atom/submissions/">https://scipost.org/atom/submissions/</a>.
The URL of the general RSS feed is <a href="{% url 'scipost:feeds_rss_submissions' %}">https://scipost.org/rss/submissions</a>.
The URL of the general Atom feed is <a href="{% url 'scipost:feeds_atom_submissions' %}">https://scipost.org/atom/submissions/</a>.
</p>
<p>You can also obtain feeds only for any specific specialization by using the links in the table below.</p>
......
......@@ -37,27 +37,23 @@ urlpatterns = [
# Feeds
url(r'^feeds$', views.feeds, name='feeds'),
url(r'^rss/news/$', LatestNewsFeedRSS()),
url(r'^atom/news/$', LatestNewsFeedAtom()),
url(r'^rss/comments/$', LatestCommentsFeedRSS()),
url(r'^atom/comments/$', LatestCommentsFeedAtom()),
url(r'^rss/submissions/$',
LatestSubmissionsFeedRSS()),
url(r'^rss/news/$', LatestNewsFeedRSS(), name='feeds_rss_news'),
url(r'^atom/news/$', LatestNewsFeedAtom(), name='feeds_atom_news'),
url(r'^rss/comments/$', LatestCommentsFeedRSS(), name='feeds_rss_comments'),
url(r'^atom/comments/$', LatestCommentsFeedAtom(), name='feeds_atom_comments'),
url(r'^rss/submissions/$', LatestSubmissionsFeedRSS(), name='feeds_rss_submissions'),
url(r'^rss/submissions/(?P<subject_area>[a-zA-Z]+:[A-Z]{2,})$',
LatestSubmissionsFeedRSS(),
name='sub_feed_spec_rss'),
url(r'^atom/submissions/$',
LatestSubmissionsFeedAtom()),
url(r'^atom/submissions/$', LatestSubmissionsFeedAtom(), name='feeds_atom_submissions'),
url(r'^atom/submissions/(?P<subject_area>[a-zA-Z]+:[A-Z]{2,})$',
LatestSubmissionsFeedAtom(),
name='sub_feed_spec_atom'),
url(r'^rss/publications/$',
LatestPublicationsFeedRSS()),
url(r'^rss/publications/$', LatestPublicationsFeedRSS(), name='feeds_rss_publications'),
url(r'^rss/publications/(?P<subject_area>[a-zA-Z]+:[A-Z]{2,})$',
LatestPublicationsFeedRSS(),
name='pub_feed_spec_rss'),
url(r'^atom/publications/$',
LatestPublicationsFeedAtom()),
url(r'^atom/publications/$', LatestPublicationsFeedAtom(), name='feeds_atom_publications'),
url(r'^atom/publications/(?P<subject_area>[a-zA-Z]+:[A-Z]{2,})$',
LatestPublicationsFeedAtom(),
name='pub_feed_spec_atom'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment