forked from paperswithcode/ai-deadlines
-
Notifications
You must be signed in to change notification settings - Fork 9
/
feed.xml
83 lines (76 loc) · 4.04 KB
/
feed.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
---
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/static/xml/rss.xsl" media="all"?>
<rss version="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:event="http://schema.org/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:georss="http://www.georss.org/georss"
>
<channel>
<title>{{ site.title | xml_escape }}</title>
<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
<link>{{ site.baseurl }}/feed.xml</link>
<atom:link href="{{ site.baseurl }}/feed.xml" rel="self" type="application/rss+xml" />
<language>en-US</language>
<copyright>Copyright {{ site.time | date: '%Y' }}, {{ site.title | xml_escape }}</copyright>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<generator>Jekyll v{{ jekyll.version }}</generator>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<image>
<url>{{ site.baseurl_root }}/static/images/logo.png</url>
<title>{{ site.title | xml_escape }}</title>
<link>{{ site.baseurl}}</link>
</image>
{% for conf in site.data.conferences limit:23 %}
{% if conf.cfp_ext %}
{% assign cfp = conf.cfp_ext %}
{% else %}
{% assign cfp = conf.cfp %}
{% endif %}
{% if cfp != "TBA" and cfp != "Cancelled" and cfp != "None" %}
<item>
<title>{{ conf.conference | xml_escape }} {{ conf.year }} Conference Deadline</title>
<link>{{ site.baseurl }}/conference/{{conf.conference | slugify: "latin"}}-{{conf.year}}/</link>
<guid isPermaLink="false">{{conf.conference | slugify: "latin"}}-{{conf.year}}</guid>
<pubDate>{{ cfp | date: "%Y-%m-%d %H:%M:%S" | date_to_rfc822 }}</pubDate>
<dc:creator>{{ site.title | xml_escape }}</dc:creator>
<category>{{ conf.sub }}</category>
<!-- Regular description -->
<description>
<![CDATA[
<div class="h-event">
<p class="p-name">{{ conf.conference | xml_escape }} {{ conf.year }}</p>
<p class="p-summary">Conference in <span class="p-location">{{conf.place | xml_escape }}</span>
<time class="dt-start" datetime="{{ conf.start }}">{% translate_file dates/pretty_dates.html start=conf.start %}</time>
<time class="dt-end" datetime="{{ conf.end }}">{% translate_file dates/pretty_dates.html end=conf.end %}</time></p>
<p class="p-description">Call for Papers Deadline:
<time class="dt-deadline" datetime="{{ cfp }}">{{ cfp | date: "%Y-%m-%d %H:%M:%S" }}</time>
{% if conf.timezone %}{{ conf.timezone | xml_escape }}{% else %}AoE{% endif %}</p>
{% if conf.twitter %}
<p class="p-organizer">Twitter: @{{ conf.twitter }}</p>
{% endif %}
</div>
]]>
</description>
<!-- Schema.org Event markup -->
<event:Event>
<event:name>{{ conf.conference | xml_escape }} {{ conf.year }}</event:name>
<event:startDate>{{ conf.start }}</event:startDate>
<event:endDate>{{ conf.end }}</event:endDate>
<event:location>{{ conf.place | xml_escape }}</event:location>
<event:deadline>{{ cfp }}</event:deadline>
</event:Event>
<!-- Optional GeoRSS if you have coordinates -->
{% if conf.latitude and conf.longitude %}
<georss:point>{{ conf.latitude }} {{ conf.longitude }}</georss:point>
{% endif %}
</item>
{% endif %}
{% endfor %}
</channel>
</rss>