You are here

first ini for me

66 posts / 0 new
Last post
mat8861
Offline
WG++ Team memberDonator
Joined: 7 years
Last seen: 14 hours

last 2 lines change ! with |

msallal
Offline
Donator
Joined: 1 year
Last seen: 1 month

Thank you so much

I really would like to learn, but if it is not working since 3 days, it makes you feel depressed
now I got what is missing
Thank you soo much

msallal
Offline
Donator
Joined: 1 year
Last seen: 1 month

the problem is this is still showing today only, and the website shows yesterday, today and tomorrow

mat8861
Offline
WG++ Team memberDonator
Joined: 7 years
Last seen: 14 hours

siteinis can be done in different ways, some requires knowledge, that you acquire keeping trying and trying until you get it.

msallal
Offline
Donator
Joined: 1 year
Last seen: 1 month

agree

mat8861
Offline
WG++ Team memberDonator
Joined: 7 years
Last seen: 14 hours
msallal wrote:

the problem is this is still showing today only, and the website shows yesterday, today and tomorrow

Correct...is not finished for yesterday you can add pastdays in config....for tomorrow what do you need? may be timesp..;)
so add calculation, see page 45 of thee bible (documentation)

msallal
Offline
Donator
Joined: 1 year
Last seen: 1 month

you know something, i think aljazeera doing it based on the name not on startDate,
if you take a look at the json, it is schedule for a week from Sunday to Saturday.

i think we have to modify it to be on date name not startDate.

do you agree

mat8861
Offline
WG++ Team memberDonator
Joined: 7 years
Last seen: 14 hours

it depends how you want to do it, so firstday=0123456 may suite for you.....or you do calculations (bit difficult) or you play with split and calculation and remove un-needed shows (what i did)

msallal
Offline
Donator
Joined: 1 year
Last seen: 1 month

i modified it to scrub the showDay instead of startDate

index_temp_1.scrub {single|showDay":"||",|"}
index_temp_1.modify {calculate(format=date,days)}

the result seems good for the first two days, but after that I getting some conflict.
for example on next day 5 show have the same start time 20210505000000

msallal
Offline
Donator
Joined: 1 year
Last seen: 1 month

deal (thumb)

mat8861
Offline
WG++ Team memberDonator
Joined: 7 years
Last seen: 14 hours

so let's go back to firstday, as you said start on sunday, set firstday properly as the manual says.

Suppose a multiday index_page which lists the shows for a week starting Sunday. Then, if we grab on Sunday, there is no need to skip a day, but on Monday we must skip 1 day (the Sunday), on Tuesday we must skip 2 days ... Etc. We specify firstday=1234560

It was enough to read the documentation.

msallal
Offline
Donator
Joined: 1 year
Last seen: 1 month

Ooooh God. It is not working with me

Im trying to do it since two hours. Not lucky
For tge last time, can you write down on my file, maybe because i didn't sleep since 28 hours.

Please please please.
I'm so sorry to ask

msallal
Offline
Donator
Joined: 1 year
Last seen: 1 month

I found that the problem is wit the date that coming as full week, but updated only for three dyas, yesterday today and tomorrow.
it is working fine now.
thank you so much Mat
finally I finished this .ini and made another three

I appreciate if you recommend me to do any .ini file

mat8861
Offline
WG++ Team memberDonator
Joined: 7 years
Last seen: 14 hours

as you are at beginning go with the easy solution....firstaday=123xxxx then start and title only, wg++ will do it for you. Calculations need a bit of knowledge and experiments.

msallal
Offline
Donator
Joined: 1 year
Last seen: 1 month

Yes, i did that already in two ini and one with calculation.
By the way, does wg++ allow conditional statements. Like if else

Pages

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