nerab / dropcaster

Simple Podcast Publishing
http://nerab.github.io/dropcaster/
MIT License
154 stars 33 forks source link

links to mp3 files are relative to channel URL, not the dropbox links #44

Closed tansaku closed 4 years ago

tansaku commented 6 years ago

Dropcaster sounds way cool - we were thinking it allowed us to host purely out of dropbox, but when we run it we get urls to the mp3s relative to channel URL, not the dropbox links that we were expecting. Are we doing something wrong?

:title: 'Agile Book Club Podcast'
:description: 'AgileVentures.org panelists discussion on selected books and topics relating to agile development, team collaboration, and software engineering.'
:url: 'https://www.agileventures.org'

example from index.rss:

   <item>
      <title>Ep. 5: Agile Book Club podcast - Fifty Quick Ideas to Improve your User Stories by Adzic/Evans</title>
      <itunes:author>AgileVentures.org</itunes:author>

      <itunes:subtitle>Episode 5: Sam and Michael discuss the following...</itunes:subtitle>
      <itunes:summary>Episode 5: Sam and Michael discuss the following sections of &quot;Fifty Quick Ideas to Improve your User Stories&quot; by Gojko Adzic and David Evans: 

-Put a best before date on stories 
-Set deadlines for addressing major risks</itunes:summary>

      <itunes:image href=""/>
      <enclosure url="https://www.agileventures.org/ep._5__agile_book_club_podcast_-_fifty_quick_ideas_to_improve_your_user_stories_by_adzic_evans.mp3" length="31059440" type="audio/mp3"/>
      <link>https://www.agileventures.org/ep._5__agile_book_club_podcast_-_fifty_quick_ideas_to_improve_your_user_stories_by_adzic_evans.mp3</link>
      <guid isPermaLink="false">1fcbf4022f1b93cef9750850b1c758ad54926b01</guid>
      <pubDate>Wed, 17 Jan 2018 13:08:47 +0000</pubDate>
      <itunes:duration>1756</itunes:duration>

    </item>

we thought that the link would be to the dropbox link to the mp3 https://www.dropbox.com/s/uc0bap0hjk070c7/ep._5__agile_book_club_podcast_-_fifty_quick_ideas_to_improve_your_user_stories_by_adzic_evans.mp3?dl=0 or is that not how the system works?

tansaku commented 6 years ago

Okay, so I guess this system used to work when dropbox allowed relative linking in the public folder.

I've now managed to make it work by publishing to githubpages https://github.com/AgileVentures/agile-book-club-podcast

ideally the README should be updated with appropriate instructions and the project renamed as githubpagescaster or similar ...

timbroder commented 6 years ago

FYI - it also works with free Heroku hosting

Edit: Up to a point. There is a 500 meg slug limit

dkhgh commented 6 years ago

You can also set it up with s3 / digital ocean spaces and use https://github.com/s3tools/s3cmd to sync your local folder to the static asset host.

timbroder commented 6 years ago

@dkhgh wow thanks for that suggestion. This works great!

nerab commented 6 years ago

@dkhgh Nice approach! Would you be willing to describe that in the README (in reasonable detail)?

timbroder commented 6 years ago

@dkhgh I can add to the readme if you are busy, LMK

dkhgh commented 6 years ago

@dkhgh Nice approach! Would you be willing to describe that in the README (in reasonable detail)?

@dkhgh I can add to the readme if you are busy, LMK

I can do it tomorrow / Thursday the earliest, I'll check back here and update the readme 👍

nerab commented 4 years ago

78 was merged. @tansaku, please re-open if your issue was not solved with that patch.