|
Friday, April 26, 2002
|
|
|
Whew! Never, Ever Add Code When Trying to Go Away from the Weekend
"Well DUH! says the experienced software engineer". Yes, I know this. Yes I used to beat up my engineers for this when I had engineers. Still working without a net is _interesting_. I added logging of OPML urls to my Choose IO to View page and then started navigating through OPML documents. Everytime I hit an OPML file with links to other OPML files, these were added to the database. Then when I went back to the choose page, more were displayed. Very cool. Until, of course, I hit xml parsing errors. Sigh. Fixing XML parsing errors when running out the door is NOT a good time. So I figured out which ones had problems and suppressed them. It looks like the error is coming from incorrect network IO causing 0 bytes of information to be retrieved and then parsing 0 bytes of XML causes the inevitable error. The solution is to move to CURL, a much better way of handling network IO in php. Think of it as LWP if you are a Perl programmer (and ignore that comment if you aren't). So, for now, some OPML urls won't be displayed. All OPML urls are being logged to the database and I should be able to fix this next week.
11:00:06 AM
|
|
|
[Macro error: Can't evaluate the expression because the name "commentLink" hasn't been defined.]
[Macro error: Can't evaluate the expression because the name "commentLink" hasn't been defined.]
|
|
© Copyright
2002
The FuzzyStuff.
Last update:
4/26/2002; 9:28:58 AM.
|
|
|