Future episodes are not being produced #123
Labels
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Blocks
#145 Various bug fixes
rho_n/hpr_generator
Reference: rho_n/hpr_generator#123
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Shows from the future feed are considered to be "posted", and as such should also be published to the website.
Actual behavior
https://hackerpublicradio.org/eps/hpr4080/index.html
Not Found
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Future episodes are not been producedto Future episodes are not being produced@ken_fallon and @davmo do we allow comments on future show?
@ken_fallon and @davmo should the show navigation (prev show/next show) links work, be broken, or can we remove them for future shows?
We have allowed "future comments" up to the changeover, but the comment form has required more questions to be answered. There haven't been a huge lot of comments to future shows, but the feature has been used.
Yes they can be broken for now. Once we get it working we can see what solutions present themselves.
Ha! Yes. It's always concerned me that these haven't adapted to the fact that the show is a future show. I vote that we drop the prev/next and possibly have something that gets you to the latest show.
OK then drop the prev/next for the future shows
Dave Morriss investigated and reported "The function get_ids_from_db in site-generator runs the template ids-episode.tpl.html which invokes the query in queries-ids-episode-mysql.tpl.html and gets a CSV list of episode numbers. A loop at line 185 in site-generator then processes this list of pages."
I removed the
where eps.date < date(\'now\', \'+1 days\')
from the query and the future shows generated.While it has produced the pages, it is not ideal as the next, previous and last are not working correctly.
Further refinement:
Summary: only make shows available where
valid = 1
Future shows are visible and the comment forms are changed to the more complex one. We still include the 'first, previous, next, last' links in these shows.
Most of the issues were dealt with on the
hub
and in the updates for issue #145.