• Resolved douglaskastle

    (@douglaskastle)


    I have an issue with simply static. I am looking to legacy host a podcast and need a proper rss link.

    When I use podlove, it will place the rss feed under a link under a full wordpress install:

    https://example.com/feed/mp3

    This link appear correctly in the static home page generated. However that link goes nowhere. The actual content can be found at:

    https://example.com/feed/mp3/index.xml

    Now ideally i would prefer just the link to work for legacy reasons. However what is the correct path forward? Either replace the link in the homepage to reflect the actual location, or is there a way of tricking out a redirect on a static page so that it starts from the first one but ends up at the second one?

    My short term solution is a python script that reopens all the html pages and rewrites the link.

    This isn’t limited to just the podlove rss feeds, all rss/xml feeds have this problem.

    Thanks for the support BTW!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter douglaskastle

    (@douglaskastle)

    Here is a page on the myriad ways of redirecting. They don’t recommend the html way, but in a static site I think that is the only way available?

    https://css-tricks.com/redirect-web-page/

    Plugin Author patrickposner

    (@patrickposner)

    Hey @douglaskastle,

    RSS feeds are a problem right now, absolutely correct.

    Is the URL of the feed part of the current page?
    Is it linked somewhere?

    This way, Simply Static should be able to parse and export it.

    Thread Starter douglaskastle

    (@douglaskastle)

    @patrickposner

    Yes there are 2 examples in the linked page, this is a generic rss feed

    https://gurucomedy.podonaut.com/comments/feed/

    and this is the podlove generated one:

    https://gurucomedy.podonaut.com/feed/podcast/

    Both fail as “links”, but if you add index.xml to both you will find the correct feed.

    I practiced last night and added an index.html in parallel with a redirect to the xml and it seemed to work:

    https://stackoverflow.com/questions/5411538/redirect-from-an-html-page

    <!DOCTYPE HTML>
    <html lang="en-US">
        <head>
            <meta charset="UTF-8">
            <meta http-equiv="refresh" content="0; url=https://gurucomedy.podonaut.com/comments/feed/index.xml">
            <title>Page Redirection</title>
        </head>
        <body>
            <!-- Note: don't tell people to <code>click</code> the link, just tell them that it is a link. -->
            If you are not redirected automatically, follow this <a href='https://gurucomedy.podonaut.com/comments/feed/index.xml'>xml</a>.
        </body>
    </html>
    Thread Starter douglaskastle

    (@douglaskastle)

    Update:

    I have been looking at this just from a raw html perspective.

    My problem is that I have a podcast, (using podlove), and the rss link is given as a link, not a file. That link has been given out to a tone of podcast directories and it is an unbelievable pain to change it.

    The podcast website is currently under wordpress, but I want to move it to a static site, I can redirect the domain name no problem, it is getting that link to perform under the static site, like a link, using only html is proving impossible. I am using github pages for hosting, so I don’t have the ability to set up server rewrite rules in there to create a 301.

    I tried the html to xml redirect, it works in a broswers, but most rss parser tools do not respect this. They want a 301 redirect or nothing. It does not appear to be able to do a 301 redirect in a static site using html.

    In my case I am using cloudflare for my domain hosting, I am able to set up a 301 URL redirection here, this gives me the type of link resolution I am looking for. This solution may not work for other people.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘RSS/XML feed linking’ is closed to new replies.