Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Move configuration out of feed_parser.php #2

Open
jeckman opened this issue Jan 21, 2014 · 1 comment
Open

Move configuration out of feed_parser.php #2

jeckman opened this issue Jan 21, 2014 · 1 comment
Assignees

Comments

@jeckman
Copy link
Owner

jeckman commented Jan 21, 2014

Ultimately the goal is to be able to have multiple feeds configured, each of which has:

  • Youtube user name / url
  • Title (for the output xml feed)
  • Description (for the xml feed)
  • Link (url for more info about the podcast)
  • itunes image (for the xml feed)
  • Feed Output name (where the podcast will be output - name.xml)

Could be reading these out of a directory, or yaml files, or even just defining a config.php where an array of these gets defined.

Then we could walk through that array, calling feed_parser.php for each of these feeds and saving the file out to disk.

Of course this way you can't refresh just one feed, unless perhaps we add a feed ID, and then you could pass in a feed ID and we could just refresh that one.

@ghost ghost assigned jeckman Jan 21, 2014
@jeckman
Copy link
Owner Author

jeckman commented Jan 21, 2014

In the interim the approach I've taken is just to copy feed_parser.php and rename it for each individual podcast I want to create, and then in the cron job point each feed to a different output xml.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant