mirror of
https://github.com/jasm1nii/xml-feed-generator.git
synced 2025-10-24 17:21:38 +00:00
xml-feed-generator
an RSS/atom feed generator for my personal site 🐱
the basic logic of this PHP script:
- matches files in a specificied directory
- parses values retrieved from the following strings/HTML elements, as children of a feed
<entry>:<h2>as<title>- the
datetimeattribute of<time>as<updated> <element class="p-summary">as<summary><element class="e-content">(or<element class="entry"for older markup) as<content>/path/to/blog/entryas<id>/<link>
- outputs all of the above to
articles.xmlin another directory.
for reference, you can check out the resulting file that i've generated myself.
feel free to modify according to your needs!
Description
Languages
PHP
100%