Archived
1
0
Disbranĉigi 0
šŸ’€ A feed format-neutral RSS/Atom parser for Common Lisp.
Ĉi tiu deponejo arÄ„iviĝis je 2024-01-29. Vi povas vidi kaj elŝuti dosierojn, sed ne povas puŝi nek raporti problemojn nek tirpeti.
Iri al dosiero
Jaidyn Ann dce04303ce Update README & address 2024-01-29 00:25:06 -06:00
t Added those new tests (whoops) 2019-07-10 12:24:40 -05:00
COPYING.txt Complete rewrite. Now functional, and significantly better! ā˜† 2019-07-09 23:22:02 -05:00
README.txt Update README & address 2024-01-29 00:25:06 -06:00
rsss.asd Update README & address 2024-01-29 00:25:06 -06:00
rsss.lisp Added tests, fixed #'author for atom feeds 2019-07-10 12:23:28 -05:00

===============================================================================
RSSS                                                        An RSS/Atom parser
===============================================================================

Reading Syndicated Stuff Sagely is made to make your life (hopefully) a bit
easier when you've got to deal with Atom/RSS feed XML, especially when you need
to handle *both* types of feed.

It generalizes all types of feed (Atom, RSS 2.0/1.0) into a single RSSS:FEED
object, with subsequent RSSS:ENTRY objects inside for <entry>/<item>s within
the feed.


ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”
USAGE
ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”
You can turn a feed's XML (string) into an RSSS:FEED object with #'rsss:parse.

Then, you can read it by means of its slots.

Slots of both FEEDs and ENTRYs:
* name
* date
* desc
* uri

Slots exclusively for FEEDs:
* entries

Slots exclusively for ENTRYs:
* author
* media
* text

Each slot has an accessor in the :rsss package, like #'rsss:media, etc.
Good luck!


ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”
BORING STUFF
ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”
License is in COPYING.txt (GNU GPLv3)
Author is Jaidyn Ann <jadedctrl@posteo.at>
Sauce is at https://hak.xwx.moe/jadedctrl/rsss.git