View Single Post
Old 2007-12-14, 23:34   #2 (permalink)
petsa
MP Donator
 
Join Date: Jan 2007
Location: Stockholm
Posts: 485
Thanks: 5
Thanked 10 Times in 10 Posts

Country:

My System

Default

Hi again,

I just realized I had not counted for some variations to the layout. Here is a new version of the grabber that picks up all shows, but not yet the descriptions...

I need to work on this or get some help from someone.

Here is the problem:

- Some shows have additional information in their section of the page. Some voting buttons...
- I've tried to use conditional statements to take this into account and filter this away
- Now I can pick-up the Title, Start, and End times for the show but not the description
- I believe this has to do with the fact that there is no Tag following the #Description
- The Tag comes after the conditional statement

Here is the template:

<div>
<div><#START>(<#END>)</div>
<div><#TITLE></div>
<div><#DESCRIPTION> <------------ No Tag here
<z(><div><div></div><div></div></div></z)?> <------------ Here is the conditional statement
</div> <------------ And here comes the closing Tag
<div></div>
</div>

I can't figure out any other way of doing this so all help is very mucb appreciated!

/Peter
Attached Files
File Type: xml www_dagenstv_com.xml (8.7 KB, 39 views)
petsa is offline   Reply With Quote