You are here

How to replace a date with a number?

3 posts / 0 new
Last post
Netuddki
Offline
Joined: 6 years
Last seen: 1 year
How to replace a date with a number?

I have a site where the date of the day is marked by a number, like "today" is the number 1 and tomorrow is the number 2 etc.

The shows are then listed under number 1,2,3 etc. on the same page.

How would I start to read the shows based on the number?

And no, I don't need you to make it for me. I need the logic behind it, as I can't find anything useful in the documentation for such a case.

The page looks like this:

Code for the Day

<div href="http://www.webgrabplus.com/" class="day " id=" day-2">
<div class="dayName">MAR</div>
<div class="dayDate">27/12</div>
</div>

Code for the show:

<div class="todaysShow todaysShow-2">
<div class="col col-xs-12 col-sm-12 col-md-12 col-lg-12">
<h1>
<span class="showTime">01:12</span> Lajme e Moti
</h1>
</div>
<div class="clearfix"></div>
</div>

Netuddki
Offline
Joined: 6 years
Last seen: 1 year

Thanks!

If I get it right, I will post the file.

Netuddki
Offline
Joined: 6 years
Last seen: 1 year

So, it's surely not perfect, as there are some additional info, which I simply ignore for now, but for all those, who need a guide for Top Channel in albania, here it is.

I hope it works well and I didn't make huge mistakes.

ipko and the other albanian guides have no data for Top Channel even if it's in their list.

This guide is directly from Top Channel, but it's a very simple guide and has not much info except starting times and title.

Anybody is welcomed to use or edit it.

 

For the config xml use this:

<channel update="i" site="m.top-channel.tv" site_id="" xmltv_id="Top Channel AL">Top Channel AL</channel>

Attachments: 
Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl