New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP URL Problems #6
Comments
(seems to be some problems with the new release, one moment...) |
OK, try again with the latest release, v0.3.7, available through |
By the way, you'll want to either re-subscribe to your feeds in Spodcast or manually correct the feed --- a/spodcast/feedgenerator.py
+++ b/spodcast/feedgenerator.py
@@ -6,7 +6,7 @@ def RSS_FEED_CODE():
return r'''<?php
const SHOW_INDEX = "''' + RSS_FEED_SHOW_INDEX + r'''";
const INFO = "''' + RSS_FEED_INFO_EXTENSION + r'''";
-$PROTOCOL + ($HTTPS) ? "https://" : "http://";
+$PROTOCOL = ($HTTPS) ? "https://" : "http://";
header("Content-type: text/xml");
$feed_name = "Spodcast autofeed";
$feed_description = "Spodcast autofeed"; So, change that I tested with FreshRSS, it Works For Me™ using the default install of FreshRSS. If you still have problems they are caused by something else... |
Have you tried the latest release? Did it work? |
Yes, it worked perfectly! Sorry I forgot to follow up. |
OK, thanks for letting me know, this issue can remain closed. |
So I'm running Spodcast on my own server at home -- it is not accessible to the world.
I use FreshRSS for aggregating feeds. For some reason (I'm sure a misconfiguration on my end) the URLs for the media are all messed up when I try the default configuration and subscribing via FreshRSS.
This is what one of the media URLs looks like when I subscribe via FreshRSS (which is a web app running at
http://freshrss.local
):http://freshrss.local/i/spodcast.local/The_Joe_Rogan_Experience/The_Joe_Rogan_Experience_-_1782_-_Daniel_Holzman.ogg
What it actually should be is this (notice that the
freshrss.local
piece is missing):http://spodcast.local/The_Joe_Rogan_Experience/The_Joe_Rogan_Experience_-_1782_-_Daniel_Holzman.ogg
So for some reason it is prepending the URL of my FreshRSS web app to the media URL when I attempt to subscribe to the RSS feed.
I was able to workaround this by modifying
The_Joe_Rogan_Experience
's.index.php
file and hardcoding the URL I use into the generated media URL:I'm not proficient with PHP at all so is there a better way to solve this problem?
The text was updated successfully, but these errors were encountered: