Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Developers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
enoc
Developers
Commits
07e7c6f9
Commit
07e7c6f9
authored
4 years ago
by
resynth1943
Browse files
Options
Downloads
Patches
Plain Diff
The feed is a PITA
parent
3d4f486f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
feed.aanjk
+39
-0
39 additions, 0 deletions
feed.aanjk
feed.xml.html
+0
-36
0 additions, 36 deletions
feed.xml.html
with
39 additions
and
36 deletions
feed.aanjk
0 → 100644
+
39
−
0
View file @
07e7c6f9
---json
{
"permalink": "feed.xml",
"eleventyExcludeFromCollections": true,
"metadata": {
"title": "My Blog about Boats",
"subtitle": "I am writing about my experiences as a naval navel-gazer.",
"url": "https://example.com/",
"feedUrl": "https://example.com/feed.xml",
"author": {
"name": "Boaty McBoatFace",
"email": "me@example.com"
}
}
}
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ metadata.title }}</title>
<subtitle>{{ metadata.subtitle }}</subtitle>
<link href="{{ metadata.feedUrl }}" rel="self"/>
<link href="{{ metadata.url }}"/>
<updated>{{ collections.articles | rssLastUpdatedDate }}</updated>
<id>{{ metadata.url }}</id>
<author>
<name>{{ metadata.author.name }}</name>
<email>{{ metadata.author.email }}</email>
</author>
{%- for post in collections.replace %}
{% set absolutePostUrl %}{{ post.url | url | absoluteUrl(metadata.url) }}{% endset %}
<entry>
<title>{{ post.data.title }}</title>
<link href="{{ absolutePostUrl }}"/>
<updated>{{ post.date | rssDate }}</updated>
<id>{{ absolutePostUrl }}</id>
<content type="html">{{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
</entry>
{%- endfor %}
</feed>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
feed.xml.html
deleted
100644 → 0
+
0
−
36
View file @
3d4f486f
---
permalink: /feed.xml
metadata:
title: ReverseEagle ─ Developers
url: http://developers.reverseeagle.org
author:
name: The ReverseEagle Project
feed:
subtitle: Privacy-conscious, ethical and safer alternatives to software for developers.
filename: feed.xml
path: /feed.xml
url: https://developers.reverseeagle.org/feed.xml
id: https://developers.reverseeagle.org
---
<?xml version="1.0" encoding="utf-8"?>
<feed
xmlns=
"http://www.w3.org/2005/Atom"
>
<title>
{{ metadata.title }}
</title>
<subtitle>
{{ metadata.feed.subtitle }}
</subtitle>
<link
href=
"{{ metadata.feed.url }}"
rel=
"self"
/>
<link
href=
"{{ metadata.url }}"
/>
<updated>
{{ collections.posts | rssLastUpdatedDate }}
</updated>
<id>
{{ metadata.feed.id }}
</id>
<author>
<name>
{{ metadata.author.name }}
</name>
</author>
{% for replace in collections.replace %}
{% assign absolutePostUrl = replace.url | url | absoluteUrl(metadata.url) %}
<entry>
<title>
{{ replace.data.title }}
</title>
<link
href=
"{{ absolutePostUrl }}"
/>
<updated>
{{ replace.date | rssDate }}
</updated>
<id>
{{ absolutePostUrl }}
</id>
<content
type=
"html"
>
{{ replace.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }}
</content>
</entry>
{%- endfor %}
</feed>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment