Skip to content

Commit

Permalink
Deploying to gh-pages from @ 503a7cd 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
codeforIATIbot committed Sep 24, 2024
0 parents commit 3fd6a13
Show file tree
Hide file tree
Showing 28 changed files with 323 additions and 0 deletions.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rss-feeds.codeforiati.org
15 changes: 15 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
title: IATI RSS Feeds
description: The missing RSS feeds for various IATI websites.

collections:
iati_connect:
sort_by: order
output: false

iati_connect_comments:
sort_by: order
output: false

iati_standard:
sort_by: order
output: false
Empty file added _iati_connect/.gitkeep
Empty file.
Empty file added _iati_connect_comments/.gitkeep
Empty file.
Empty file added _iati_standard/.gitkeep
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
date: 2024-06-18 16:41:43
headline: "Introducing IATI\u2019s first Executive Director"
illustration:
height: auto
link: https://cdn.iatistandard.org/prod-iati-website/images/Govening_Board_meeting_Vienna_202.width-260.format-webp.webp
width: auto
link: https://iatistandard.org/en/news/iati-first-executive-director/
order: 0
summary: "Yemesrach Assefa Workie became IATI\u2019s first Executive Director on 1\
\ June 2024."
---
12 changes: 12 additions & 0 deletions _iati_standard/01-2024-05-31-launch-iati-annual-report-2023.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
date: 2024-05-31 16:41:43
headline: 'Launch: IATI Annual Report 2023'
illustration:
height: auto
link: https://cdn.iatistandard.org/prod-iati-website/images/IATI_Annual_Report_image.width-260.format-webp.webp
width: auto
link: https://iatistandard.org/en/news/iati-annual-report-2023/
order: 1
summary: IATI has launched its 2023 Annual Report, detailing how the initiative has
advanced towards achieving its strategic goals during the year.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
date: 2024-04-29 16:41:43
headline: IATI unites global leaders in Bogota
illustration:
height: auto
link: https://cdn.iatistandard.org/prod-iati-website/images/MA_2024_speakers.width-260.format-webp.webp
width: auto
link: https://iatistandard.org/en/news/iati-unites-global-leaders-in-bogota/
order: 2
summary: "IATI held its annual Members\u2019 Assembly and Community Exchange in Bogota,\
\ Colombia."
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
date: 2024-04-22 16:41:43
headline: UN Forum hears how funding for Indigenous Peoples' can be tracked with IATI
data
illustration:
height: auto
link: https://cdn.iatistandard.org/prod-iati-website/images/UN_Permanent_Forum_on_Indigenous_.width-260.format-webp.webp
width: auto
link: https://iatistandard.org/en/news/iati-at-un-permanent-forum-on-indigenous-issues-2024/
order: 3
summary: ''
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
date: 2024-02-20 16:41:43
headline: IATI data used to investigate international aid to Palestine
illustration:
height: auto
link: https://cdn.iatistandard.org/prod-iati-website/images/International_Aid_for_Palestine.width-260.format-webp.webp
width: auto
link: https://iatistandard.org/en/news/iati-data-used-to-investigate-international-aid-to-palestine/
order: 4
summary: Read a new report from the Institute for Journalism and Social Change.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
date: 2024-02-16 16:41:43
headline: Who is using aid and development data?
illustration:
height: auto
link: https://cdn.iatistandard.org/prod-iati-website/images/PWYF_logo_1.width-260.format-webp.webp
width: auto
link: https://iatistandard.org/en/news/who-is-using-aid-and-development-data/
order: 5
summary: Check out use cases of IATI and other data sources compiled by Publish What
You Fund.
---
12 changes: 12 additions & 0 deletions _iati_standard/06-2024-02-02-governing-board-elections-2024.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
date: 2024-02-02 16:41:43
headline: Governing Board Elections 2024
illustration:
height: auto
link: https://cdn.iatistandard.org/prod-iati-website/images/Elections.width-260.format-webp.webp
width: auto
link: https://iatistandard.org/en/news/governing-board-elections-2024/
order: 6
summary: IATI will hold its biennial Governing Board elections in February and March,
opening the nominations process to IATI members on 28 February 2024.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
date: 2024-01-08 16:41:43
headline: IATI Virtual Training for Civil Society launched
illustration:
height: auto
link: https://cdn.iatistandard.org/prod-iati-website/images/Start_course.width-260.format-webp.webp
width: auto
link: https://iatistandard.org/en/news/iati-virtual-training-for-civil-society-launched/
order: 7
summary: New online course to support civil society actors working within the international
development and humanitarian sectors to use IATI data.
---
12 changes: 12 additions & 0 deletions _iati_standard/08-2023-12-07-job-vacancy-data-analyst-wanted.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
date: 2023-12-07 16:41:43
headline: 'Job vacancy: Data Analyst wanted!'
illustration:
height: auto
link: https://cdn.iatistandard.org/prod-iati-website/images/Jobs.width-260.format-webp.webp
width: auto
link: https://iatistandard.org/en/news/job-vacancy-data-analyst-wanted/
order: 8
summary: IATI Secretariat partner, ODS is recruiting for a data analyst to join our
team.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
date: 2023-12-04 16:41:43
headline: 'Briefing: Tracking climate action with IATI'
illustration:
height: auto
link: https://cdn.iatistandard.org/prod-iati-website/images/cop_28_FMeG54f.width-260.format-webp.webp
width: auto
link: https://iatistandard.org/en/news/briefing-tracking-climate-action-with-iati/
order: 9
summary: To promote transparency and open data during COP28, IATI has released a briefing
detailing what IATI data is available on climate action.
---
21 changes: 21 additions & 0 deletions _includes/article.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<item>
{%- if article.headline -%}
<title>{{ article.headline | xml_escape }}</title>
{%- endif -%}
{%- if article.link -%}
<link>{{ article.link | xml_escape }}</link>
{%- endif -%}
<description><![CDATA[{% if article.illustration %}<img src="{{ article.illustration.link }}" width="{{ article.illustration.width }}" height="{{ article.illustration.height }}"><br><br>{% endif %}{% if article.summary %}{{ article.summary }}{% endif %}]]></description>
{%- if article.author -%}
<dc:creator>{{ article.author | xml_escape }}</dc:creator>
{%- endif -%}
{%- if article.date -%}
<pubDate>{{ article.date | date_to_xmlschema }}</pubDate>
{%- endif -%}
{%- if article.illustration -%}
<media:content url="{{ article.illustration.link | xml_escape }}" medium="image" width="{{ article.illustration.width | xml_escape }}" height="{{ article.illustration.height | xml_escape }}" />
{%- endif -%}
{%- if article.link -%}
<guid>{{ article.link | xml_escape }}</guid>
{%- endif -%}
</item>
4 changes: 4 additions & 0 deletions _includes/button.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<a class="btn btn-rss d-inline-flex align-items-center" href="{{ include.fname }}">
<i class="fa fa-rss fa-3x mr-2" aria-hidden="true"></i>
{{ include.title }}
</a>
59 changes: 59 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html lang="en" class="h-100">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ site.description }}">

<meta property="og:site_name" content="{{ site.title }}">
<meta property="og:url" content="{{ site.github.url }}">
<meta property="og:title" content="{{ site.title }}">
<meta property="og:type" content="website">
<meta property="og:description" content="{{ site.description }}">
<meta property="og:image" content="{{ site.github.url }}/assets/logo-square.png?v={{ site.github.build_revision }}">

<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="{{ site.title }}" />
<meta name="twitter:description" content="{{ site.description }}">
<meta name="twitter:image" content="{{ site.github.url }}/assets/logo-square.png?v={{ site.github.build_revision }}">

<link type="application/atom+xml" rel="alternate" href="{{ site.github.url }}/iatistandard.xml" title="IATI Standard" />
<link type="application/atom+xml" rel="alternate" href="https://{{ site.github.url }}/iaticonnect.xml" title="IATI Connect" />
<link type="application/atom+xml" rel="alternate" href="https://{{ site.github.url }}/iaticonnect-comments.xml" title="IATI Connect - Comments" />

<link rel="icon" href="{{ site.github.url }}/favicon.ico?ver={{ site.github.build_revision }}">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<link rel="stylesheet" href="/assets/css.css?ver={{ site.github.build_revision }}">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<title>{{ site.title }}</title>
</head>
<body class="d-flex flex-column h-100">
<header>
<nav class="navbar navbar-light bg-light">
<div class="container justify-content-start">
<button class="navbar-toggler mr-3" type="button" data-c4i-toggle="sidebar" type="button" aria-controls="c4i-sidebar" aria-expanded="false" aria-label="Toggle Code for IATI sidebar"><span class="navbar-toggler-icon"></span></button>
<a href="/" class="navbar-brand"><img width="100px" src="/assets/logo.png" title="A project of Code for IATI"></a>
</div>
</nav>
</header>

<main role="main" class="flex-shrink-0 text-center">
<section class="jumbotron">
<div class="container">
<h1>{{ page.title }}</h1>
{{ content }}
</div>
</section>
</main>

<footer class="footer mt-auto py-3">
<div class="container">
<span class="text-muted">A <a href="https://codeforiati.org">Code for IATI</a> project.<br><a href="https://github.com/codeforIATI/rss-feeds">Source code</a> | <a href="https://github.com/codeforIATI/rss-feeds/issues/new/choose">Report a bug</a></span>
</div>
</footer>
<script src="//codeforiati.org/sidebar/sidebar.min.js"></script>
<script src="/assets/js.js?ver={{ site.github.build_revision }}"></script>
</body>
</html>
18 changes: 18 additions & 0 deletions _layouts/feed.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
---
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:media="http://search.yahoo.com/mrss/" version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>{{ page.title | xml_escape }}</title>
<description>{{ page.description | xml_escape }}</description>
<pubDate>{{ 'now' | date_to_xmlschema }}</pubDate>
<generator>https://github.com/codeforIATI/rss-feeds</generator>
<link>{{ page.link }}</link>
<image>
<link>{{ page.link | xml_escape }}</link>
<url>https://www.google.com/s2/favicons?domain={{ page.link | xml_escape }}</url>
<title>{{ page.title | xml_escape }}</title>
</image>
{{ content }}
</channel>
</rss>
33 changes: 33 additions & 0 deletions assets/css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
---
.jumbotron {
background-color: #fff;
margin-bottom: 0;

.container {
max-width: 40rem;
}
}

.footer {
background-color: #f5f5f5;

> .container {
padding-right: 15px;
padding-left: 15px;
}
}

$rss_color: #ee802f;

.btn-rss {
color: white;
background-color: $rss_color;
border-color: $rss_color;

&:hover {
color: white;
background-color: darken($rss_color, 7.5%);
border-color: darken($rss_color, 10%);
}
}
7 changes: 7 additions & 0 deletions assets/js.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var luEl = document.getElementById('last-updated');
var luText = luEl.innerHTML;
var now = new Date();
var last_updated = new Date(luText);
var hours_ago = Math.round((now - last_updated) / 3.6e6);
var updatedText = hours_ago + ' hour' + ((hours_ago === 1) ? '' : 's') + ' ago';
luEl.innerHTML = updatedText;
Binary file added assets/logo-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon.ico
Binary file not shown.
10 changes: 10 additions & 0 deletions iaticonnect-comments.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: feed
title: IATI Connect - Comments
description: Latest comments on IATI Connect
link: https://iaticonnect.org
---

{% for article in site.iati_connect_comments reversed %}
{% include article.xml article=article %}
{% endfor %}
10 changes: 10 additions & 0 deletions iaticonnect.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: feed
title: IATI Connect
description: Latest posts on IATI Connect
link: https://iaticonnect.org/search/all/all
---

{% for article in site.iati_connect reversed %}
{% include article.xml article=article %}
{% endfor %}
10 changes: 10 additions & 0 deletions iatistandard.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: feed
title: IATI Standard
description: Latest news on iatistandard.org
link: https://iatistandard.org/en/news/
---

{% for article in site.iati_standard reversed %}
{% include article.xml article=article %}
{% endfor %}
16 changes: 16 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: default
title: IATI RSS Feeds
---

The missing RSS feeds for various IATI websites.

{% include button.html fname="iatistandard.xml" title="IATI Standard website RSS feed" %}

{% include button.html fname="iaticonnect.xml" title="IATI Connect RSS feed" %}

{% include button.html fname="iaticonnect-comments.xml" title="IATI Connect comments RSS feed" %}

{% assign now = site.time | date_to_rfc822 %}

_Last updated: <abbr title="{{ now }}" id="last-updated">{{ now }}</abbr>._

0 comments on commit 3fd6a13

Please sign in to comment.