bopjesvla / hitch

https://hitchmap.com
GNU Affero General Public License v3.0
8 stars 2 forks source link

rss feed #64

Open guaka opened 4 months ago

guaka commented 4 months ago

it'd be good to also have an rss feed, e.g. at /recent.xml

there's https://hitchmap.com/recent.html, but this is more work to parse, rss would be useful for e.g. https://github.com/Trustroots/nostr-map/issues/15, to show these spots at notes.trustroots.org

bopjesvla commented 4 months ago

This could be done, but I generally recommend downloading https://hitchmap.com/dump.sqlite once a day or whenever you need it (it's only a few MB, smaller than the Hitchmap homepage). select * from points where datetime > '2023-01-01' would do the trick.

guaka commented 4 months ago

Got running code, some notes are showing at https://notes.trustroots.org/ now