Parsing error? - Printable Version +- Tordex Community (http://forum.tordex.com) +-- Forum: True Launch Bar plugins (http://forum.tordex.com/forum-4.html) +--- Forum: Plugins bugs (http://forum.tordex.com/forum-17.html) +--- Thread: Parsing error? (/thread-1448.html) |
- Q Section - 06-10-2004 Hello reader We are using a Weather Monitor for parsing the True Launch Bar forum as seen in the screenshot below. On the second line it shows the "General Discussion" topic, poster date and time. Following "Zero-Point" the date shows June 10 23:20. Looking at the actual forum (below) the date shows June 11 01:20. We checked the 'View Source'. It shows June 11. The provider file is correctly written as well. Lastly we refreshed and also clicked on "Get weather now". A strange situation indeed. This is not necessarily a bug per se but some kind of error.??!!??!! :0 ??? - Q Section - 06-10-2004 From the provider file - [CustomParam10] name = GD Date find0 = "<!-- Forum 1 entry -->" find1 = "Forum Led by:" find2 = "highlight'>" find3 = "highlight'>" delim = " 2004" and from the source page - <!-- Forum 1 entry --> <tr> <td bgcolor="#E9E9E9" align="center" width="5%"><img src="http://www.tsoftcentral.com/iB_html/non-cgi/Skin/Default/images/on.gif" border="0" alt=""></td> <td bgcolor="#E9E9E9" align="left" width='45%'><span id="linkthru"><b><a href="http://www.tsoftcentral.com/cgi-bin/ikonboard/ikonboard.cgi?act=SF;f=1">General Discussion</a></b></span> General discussion for all possible topics<span id='highlight'> Forum Led by: <a href='http://www.tsoftcentral.com/cgi-bin/ikonboard/ikonboard.cgi?act=Profile;CODE=03;MID=69-1010192383'>Eric J Johnson</a>, <a href='http://www.tsoftcentral.com/cgi-bin/ikonboard/ikonboard.cgi?act=Profile;CODE=03;MID=89-1010192250'>Yuri Kobets</a></span> User(s) active in this forum : 1</td> <td bgcolor="#DFDEDC" align='center' valign='middle' width='10%'>369</td> <td bgcolor="#DFDEDC" align='center' valign='middle' width='10%' id='highlight'>1461</td> <td bgcolor="#DFDEDC" align="left" valign='middle' width='35%'><span id='highlight'>June 11 2004,01:20</span> Anyone have any ideas? Thank you - ozxar - 06-10-2004 QSection : by my understanding of this, it has to do with time zones as this also shows 1:20 on my WM aswell, if you log out and check through there it will then show the time displayed on the weather monitor this happens as because the WM cannot log in as you and use your local time settings so it will only show the board's local time - Dracula - 06-11-2004 ozxar is exactly right, that's the reason! Hey, when I look at the forum, I see that post is from 07:20... it's just the corrected time using the timezone settings from your forum profile... (which the weather monitor does not use) Btw, it's the first time I see (a part of) the provider file... wouldn't it be better to set "delim=200", so it would work another 5 years, or even "delim=20"...? :p - HorusUK - 06-11-2004 Yes, it is to do with your timezone but also there is a problem with sending cookies so features I wanted to add, such as message notification couldn't be done. Yuri is aware of this, and as soon as it's fixed, I'll re-release the skin with these extra features. I noticed this when developing the skin. In my browser the source shown was logged in with my ID. Yuri came back with the answer, and when I did a check GET with Sam Spade it showed me logged in as guest and explained some of the problems I was getting when parsing the HTML and showed cookies weren't being sent. Quote:Btw, it's the first time I see (a part of) the provider file... wouldn't it be better to set "delim=200", so it would work another 5 years, or even "delim=20"...?That's QSection, doing what QSection does best. Tinkering with the skins! I'd recommend that you all dig into the skins I've made, and make your own ammendments. Repost them, even! They're there for all to use. - Q Section - 06-11-2004 Thank ozxar, Dracula and HorusUK! Yes you are all right! So now we know! BTW - We changed the code from 2004 to 20. |