English > Scripts and Templates

Project Allocine script

<< < (2/11) > >>

Ivek23:

--- Quote from: pra15 on February 09, 2015, 09:32:54 am ---Thanks, yes it works.
After several trying i've forgotten erase manually original title, sorry.
--- End quote ---

OK, no problem, nice to hear that it has been successfully solved the problem.

pra15:
I've looked your modifications.
I don't understand why at the end of the boucle while, just put CurPos := PosFrom('<a href=',HTML,CurPos); doesn't work. We must return to Thumbnail address.

Sorry, i would like understand to not repeat the same error the next times.

And do you know some links for help to string function like StringReplace, TextBetween, RemoveTags, especially for boolean options. I put always true but some like wholeword, dolinebreaks, i'm not sure.

I'm not sure too to the language use in script. Pascal Delphi? Some function for pascal doesn't work in script.

I think it's important for a beginner to know where find help to make a script especially in the language use. Not just copy existing scripts and trying to addapt them.

Ivek23:

--- Quote from: pra15 on February 09, 2015, 02:53:34 pm ---And do you know some links for help to string function like StringReplace, TextBetween, RemoveTags, especially for boolean options. I put always true but some like wholeword, dolinebreaks, i'm not sure.
--- End quote ---

Unfortunately, I know only this Personal Video Database Scripting Manual connection, if anything helps.

pra15:
Thanks for the link but i've already readed it, it's more for the language i need help.

I add :
CustomField Nationalite (as multiple choice), Note Presse (as short text), Note Spectateurs (as short text).

I put too Note Press in standard field Note in PVD.

But ..... Problems with french characters : é è à etc....
ex : é replace by é

I tried to use function stringreplace but nothing change!

Ivek23:

--- Quote from: pra15 on February 09, 2015, 05:37:32 pm ---But ..... Problems with french characters : é è à etc....
ex : é replace by é

I tried to use function stringreplace but nothing change!
--- End quote ---

Try this UTF-8 encoding table and Unicode characters connection, if anything helps.

It could also, this dmm.co.jp script that shows how to solve a similar problem.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version