Introduce Software Freedom Podcast: episodes as HTML and RSS #1065
No reviewers
Labels
No Label
bug
build
cgi Scripting
design
disruptive
documentation
duplicate
easy
feature-request
help wanted
javascript
priority/low
question
system-hackers
tagging
text
translations
wait/bugfix
wait/inprogress
wait/misc
wait/proofread
wontfix
xsl
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: FSFE/fsfe-website#1065
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "podcast"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR introduces podcasts to our website. The FSFE plans to release podcast episodes regularly. The audio files are to be hosted on download.fsfe.org, while the RSS feed which one can subscribe to in podcast apps, as well as an index of episodes shall be displayed on fsfe.org.
Description
In order to do so, I have created a new directory
/news/podcast
. It contains one XHTML file per podcast which contains normal text but also an XML tag<podcast>
in which important metadata is stored.The RSS template
podcast.rss.xsl
is responsible for generating the .rss file people then can subscribe to. It is copied from newsletter.xsl.xsl but contains some special fields and some general improvements.On the website, each released podcast episode will be displayed on
/news/podcast
as well as on/news
and the index page.We want to have two audio formats: OGG and MP3.
Problems / missing features
At the moment, the RSS feed works fine, but we lack a few features that are crucial for the release:
<xsl:param name="audioformat" select="'mp3'" />
in `podcast.rss.xsl.<audio-player />
. It should read the meta data of the respective episode and output a snippet containing an HTML audio tag with the two URLs like here./news/news.en.rss
RSS feed. But that's optional.Your help would be very appreciated!
Develop
To see the RSS file locally, you can of course run the full build. However, this will take a while. For example:
You can also directly generate the RSS file for immediate testing:
If no item/episode is displayed, run
make
before these commands. This will reconsider the source files.Display podcast episodes as HTML and RSSto WIP: Display podcast episodes as HTML and RSSI could have a look at the audio player element later.
I tried hard - but I can't wrap my head around the XSL madness build system 😞
I want to learn that. So maybe you have some time for a remote session to explain it to me @max.mehl ?
I solved the audio-player tag now thanks to @reinhard's help. But @mweimann, I'd love to explain that to you as well in a session!
All missing features solved! Now I'll concentrate on makings things prettier, but the most important and complicated stuff is solved.
Thanks to everyone who helped!
WIP: Display podcast episodes as HTML and RSSto Display podcast episodes as HTML and RSSDisplay podcast episodes as HTML and RSSto Introduce Software Freedom Podcast: episodes as HTML and RSS