Fix IDs · python-spain/python-deadlines@b6dfb30 · GitHub
Skip to content

Commit b6dfb30

Browse files
committed
Fix IDs
1 parent 0d70524 commit b6dfb30

4 files changed

Lines changed: 7 additions & 12 deletions

File tree

‎_layouts/calendar-conferences.ics‎

Lines changed: 1 addition & 1 deletion

‎_layouts/calendar-deadlines.ics‎

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,11 @@ VERSION:2.0
44
PRODID:-//{{ site.url }}//{{ site.github_repo }}//EN
55
X-PUBLISHED-TTL:PT1H
66
{%- for conf in site.data.conferences -%}
7-
{% if conf.cfp_ext %}
8-
{% assign cfp = conf.cfp_ext %}
9-
{% assign extended = "(extended)" %}
10-
{% else %}
11-
{% assign cfp = conf.cfp %}
12-
{% endif %}
7+
{% if conf.cfp_ext %}{% assign cfp = conf.cfp_ext %}{% assign extended = "(extended)" %}{% else %}{% assign cfp = conf.cfp %}{% endif %}
138
{% if conf.workshop_deadline and conf.workshop_deadline != "TBA" %}
149
BEGIN:VEVENT
1510
SUMMARY:{{ conf.conference }} {{ conf.year }} Workshop Deadline
16-
UID:{{ conf.id }}-workshop {% if conf.timezone contains "UTC" %} {% assign tz = conf.timezone | split: "UTC" %} {% if tz[1] contains "-" %} {% assign tz = tz[1] | replace: "-", "+" %} {% else if tz[1] contains "+" %} {% assign tz = tz[1] | replace: "+", "-" %} {% else assign tz = tz[1] %} {% endif %}
11+
UID:{{conf.conference | slugify: "latin"}}-{{conf.year}}-workshop {% if conf.timezone contains "UTC" %} {% assign tz = conf.timezone | split: "UTC" %} {% if tz[1] contains "-" %} {% assign tz = tz[1] | replace: "-", "+" %} {% else if tz[1] contains "+" %} {% assign tz = tz[1] | replace: "+", "-" %} {% else assign tz = tz[1] %} {% endif %}
1712
ORGANIZER:pythondeadlin.es
1813
DESCRIPTION:<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.
1914
DTSTAMP:{{ site.time | date: "%Y%m%dT%H%M%SZ" }}
@@ -27,7 +22,7 @@ DTSTART;TZID={{ conf.timezone }}:{{ conf.workshop_deadline | date: "%Y%m%dT%H%M%
2722
{% if conf.tutorial_deadline and conf.tutorial_deadline != "TBA" %}
2823
BEGIN:VEVENT
2924
SUMMARY:{{ conf.conference }} {{ conf.year }} Tutorial Deadline
30-
UID:{{ conf.id }}-tutorial {% if conf.timezone contains "UTC" %} {% assign tz = conf.timezone | split: "UTC" %} {% if tz[1] contains "-" %} {% assign tz = tz[1] | replace: "-", "+" %} {% else if tz[1] contains "+" %} {% assign tz = tz[1] | replace: "+", "-" %} {% else assign tz = tz[1] %} {% endif %}
25+
UID:{{conf.conference | slugify: "latin"}}-{{conf.year}}-tutorial {% if conf.timezone contains "UTC" %} {% assign tz = conf.timezone | split: "UTC" %} {% if tz[1] contains "-" %} {% assign tz = tz[1] | replace: "-", "+" %} {% else if tz[1] contains "+" %} {% assign tz = tz[1] | replace: "+", "-" %} {% else assign tz = tz[1] %} {% endif %}
3126
ORGANIZER:pythondeadlin.es
3227
DESCRIPTION:<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.
3328
DTSTAMP:{{ site.time | date: "%Y%m%dT%H%M%SZ" }}
@@ -40,7 +35,7 @@ DTSTART;TZID={{ conf.timezone }}:{{ conf.tutorial_deadline | date: "%Y%m%dT%H%M%
4035
{% endif %}END:VEVENT{% endif %}
4136
{% if cfp != "TBA" %}BEGIN:VEVENT
4237
SUMMARY:{{ conf.conference }} {{ conf.year }} Deadline {{ extended }}
43-
UID:{{ conf.id }} {% if conf.timezone contains "UTC" %} {% assign tz = conf.timezone | split: "UTC" %} {% if tz[1] contains "-" %} {% assign tz = tz[1] | replace: "-", "+" %} {% else if tz[1] contains "+" %} {% assign tz = tz[1] | replace: "+", "-" %} {% else assign tz = tz[1] %} {% endif %}
38+
UID:{{conf.conference | slugify: "latin"}}-{{conf.year}} {% if conf.timezone contains "UTC" %} {% assign tz = conf.timezone | split: "UTC" %} {% if tz[1] contains "-" %} {% assign tz = tz[1] | replace: "-", "+" %} {% else if tz[1] contains "+" %} {% assign tz = tz[1] | replace: "+", "-" %} {% else assign tz = tz[1] %} {% endif %}
4439
ORGANIZER:pythondeadlin.es
4540
DESCRIPTION:<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.
4641
DTSTAMP:{{ site.time | date: "%Y%m%dT%H%M%SZ" }}

‎feed.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<description>Conference in {{conf.place | xml_escape }} on {% translate_file dates/pretty_dates.html %}. CfP: {{ cfp | xml_escape }} {% if conf.zimezone %}{{ conf.timezone | xml_escape }}{% else%}AoE{% endif %}.{% if conf.twitter %}&lt;br /&gt;Find them here: @{{ conf.twitter}}{% endif %} </description>
2525
<pubDate>{{ cfp | date: "%Y-%m-%d %H:%M:%S" | date_to_rfc822 }}</pubDate>
2626
<link>https://{{ site.domain }}/conference/{{conf.conference | slugify: "latin"}}-{{conf.year}}/</link>
27-
<guid isPermaLink="false">{{ conf.id }}</guid>
27+
<guid isPermaLink="false">{{conf.conference | slugify: "latin"}}-{{conf.year}}</guid>
2828
<category>{{ conf.sub }}</category>
2929
</item>
3030
{% endif %}

‎python-events-export.xml‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)