Relative links not rendering correctly
I've forked a copy of the OpenStreetmap pluto project (https://github.com/WorcSource/blogs.worcestersource.club), but I'm having trouble with one of the feeds.
The issue is none of the relative link to images or other pages within the post are pointing to the originating blog, and instead are pointing locally, as you can see here: https://nostalgic-dubinsky-598971.netlify.com/ (note the "I made a box" post).
The feed in question is here: https://maker.limeblast.co.uk/feed.xml and works perfectly fine on a Planet Venus site that uses it (https://planet.birmingham.io/) , but not on the pluto site I'm trying to use.
The feed itself is generated Jekyll Feed, the devs of which suggest is working as intended because they use an xml:base element (https://github.com/jekyll/jekyll-feed/issues/260)
I'm hoping you can help me resolve this issue. Thank you.
@LimeBlast Thanks for trying pluto. I'm sorry to tell you that this looks like a missing feature. With a custom ruby filter (that is, search and replace) this should just be a couple of lines for a "quick and dirty" fix / workaround. Cheers. Prost.
PS: For some feed filter examples, see https://github.com/feedparser/feedfilter.
If I wanted to fix this properly (i.e. to submit a pull request for inclusion in the core), where should I be looking? I.e. which files within this repository are responsible for outputting the content to the page?
Thanks.
Pluto is designed on purpose to have "programmable" templates and "plugins", that is, ruby scripts. Try to add a filter (ruby script / helper) to your template. To be honest I don't know what's the "best" way off the top of my head (without "deeper" research). The ultimate version (of course) would be adding the "fix" to the feedparser library (I assume every format is different :-), see https://github.com/feedparser/feedparser. You might check what the alternate feedjira library is doing or some other feedreader / planets.
PS: To answer "which files within this repository are responsible for outputting the content to the page" see https://github.com/feedreader/pluto/blob/master/pluto-merge/lib/pluto/merge/formatter.rb and https://github.com/rubycoco/pakman/blob/master/lib/pakman/erb/templater.rb