| View previous topic :: View next topic |
| Author |
Message |
CyberSkull

Joined: 11 Mar 2008 Posts: 2
|
Posted: Tue Mar 11, 2008 2:12 pm Post subject: RSS |
|
|
The links given in the RSS feed are broken.
I clicked http://metrophor.com/comic.php?comic=117 and got this error:
| Quote: | | Catchable fatal error: Argument 1 passed to M4X_MySQL::get_next_comic() must be an instance of M4X_Comic, string given, called in /home/.radcliffe/plenarch/metrophor.com/includes/news_func.php on line 53 and defined in /home/.radcliffe/plenarch/metrophor.com/includes/data_mysql5.php on line 561 |
The atom feed also gives the same bad URLs.
I see 2 fixes to this: make the PHP script accept the comic number or have the RSS/Atom feed scripts give the dated URLs instead (http://metrophor.com/comic.php?date=2008-02-22) |
|
| Back to top |
|
 |
cijil Aurarch

Joined: 19 May 2006 Posts: 296 Location: East Coast
|
Posted: Wed Mar 12, 2008 6:33 pm Post subject: |
|
|
| Oi. The first fix is what I expected to happen, but clearly I mucked something up. I'll get to work on fixing that, although it may be until the weekend before I can. |
|
| Back to top |
|
 |
cijil Aurarch

Joined: 19 May 2006 Posts: 296 Location: East Coast
|
Posted: Sun Mar 16, 2008 2:08 pm Post subject: |
|
|
| Okay, that should be fixed now; there was one line where I was passing an integer instead of the more complex object that the function expected, and as far as I can tell that's the only place that occurred. Let me know if anything else comes up! |
|
| Back to top |
|
 |
CyberSkull

Joined: 11 Mar 2008 Posts: 2
|
|
| Back to top |
|
 |
cijil Aurarch

Joined: 19 May 2006 Posts: 296 Location: East Coast
|
Posted: Mon Mar 17, 2008 1:38 pm Post subject: |
|
|
Awesome! I do so love it when things that work for me work for other people too.
It actually happens surprisingly infrequently. The life of a programmer, I suppose. |
|
| Back to top |
|
 |
|