Posted by drewish on August 13, 2007 at 7:10pm
1 follower
Jump to:
| Project: | Station |
| Version: | 6.x-2.x-dev |
| Component: | Archive |
| Category: | feature request |
| Priority: | normal |
| Assigned: | drewish |
| Status: | active |
Issue Summary
Now that schedules are nodes it'd make sense for archives to be nodes as well. The plan looks to be:
- Update to:
- Rename {station_archive} to {station_archive_item} and add a schedule_nid field.
- Create a new {station_archive} table with fields for the values that are currently stored in the module's settings (promote_scheduled, delete_unscheduled, unscheduled_title, import, import_dir, remove, remove_older_than) as well as new settings (schedule_url, schedule_nid, increment).
- Rename {station_program} to {station_archive_program} and add an archive_nid field.
- Create a new station_archive node with the current archive settings.
- Add a station_archive node type.
- Implement hook_(load/insert/update/delete) functions for the station_archive nodes.
- Add an XML-RPC function to provide a list of programs on a given schedule.
- Add a cron job to grab the list of programs from the schedule and populate the {station_archive_program} table.
I'll tackle he last two first, as a separate issue.
Comments
#1
committed http://drupal.org/node/166993 so the last two are taken care of.
#2
Won't happen in 5.x
#3
I'm tagging this as a feature request, feel free to switch back if you want to do it drewish :)