Parsing error?
Started by Q Section


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


6 posts in this topic
Q Section
Weapons Я Us
*****


0
899 posts 100 threads Joined: Feb 2003
06-10-2004, 10:57 PM -
#1
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 ???
HMSS Q Section
click here for 30+ ideas from a Special Plugin List
some examples=
UV Index Monitor, Allergy Monitor, TLB Version Monitor, Cinema Monitor
Visualise World Righteousness
Semper Ad Fundum
Working for the Secret Intelligence Service
Q Section
Weapons Я Us
*****


0
899 posts 100 threads Joined: Feb 2003
06-10-2004, 11:08 PM -
#2
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
HMSS Q Section
click here for 30+ ideas from a Special Plugin List
some examples=
UV Index Monitor, Allergy Monitor, TLB Version Monitor, Cinema Monitor
Visualise World Righteousness
Semper Ad Fundum
Working for the Secret Intelligence Service
ozxar
Member
***


0
241 posts 57 threads Joined: Jan 2004
06-10-2004, 11:14 PM -
#3
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 Wink

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 Smile
Dracula
Senior Member
****


0
407 posts 28 threads Joined: Dec 2002
06-11-2004, 02:43 AM -
#4
ozxar is exactly right, that's the reason! Smile

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
Windows 7, IE 9.0, Shell 6.0.6000.16386, TLB 4.2.3 beta
HorusUK
Senior Member
****


0
458 posts 40 threads Joined: Dec 2003
06-11-2004, 04:35 AM -
#5
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.
Back once again...
Q Section
Weapons Я Us
*****


0
899 posts 100 threads Joined: Feb 2003
06-11-2004, 06:27 AM -
#6
Thank ozxar, Dracula and HorusUK! Yes you are all right! So now we know!

BTW - We changed the code from 2004 to 20. Big Grin
HMSS Q Section
click here for 30+ ideas from a Special Plugin List
some examples=
UV Index Monitor, Allergy Monitor, TLB Version Monitor, Cinema Monitor
Visualise World Righteousness
Semper Ad Fundum
Working for the Secret Intelligence Service


Forum Jump:


Users browsing this thread: 1 Guest(s)