Personal Video Database

English => Development => Topic started by: pra15 on January 19, 2015, 10:49:20 am

Title: Export csv file
Post by: pra15 on January 19, 2015, 10:49:20 am
Hello,

I would like to export the title and the url of database movies.
As i'm not programmer, i have just modified the csv export plug in existing in PVD.

Code: [Select]
%OPTIONS%
encoding="UTF8BOM"
replace=";<->,"
replace=""<->"
replace="#13#10<-> "
replace="#13<-> "
replace="#10<-> "
filter="CSV Files|*.csv"
%OPTIONS%
%HEAD%Title;URL;
%HEAD%{%value=title};"{%value=url}";

The problem that there is only one film in the export csv file and not the complete database.

If someone can help me, thanks for advance.
Title: Re: Export csv file
Post by: dgdoo on January 20, 2015, 10:28:41 pm
Hi,

maybe you had filtered your movies using the search field?
I always get exactly the titles which are displayed in the screen list.

Regards
Title: Re: Export csv file
Post by: pra15 on January 21, 2015, 01:17:42 am
Thanks for response,

No filters, but i have seen with a text editor that all the database was exported but in one line, so with a csv editor just one line appears.
It's just a question of layout.

What the language use for export plug-in?
Is there links for learning and help?
Title: Re: Export csv file
Post by: dgdoo on January 21, 2015, 08:19:11 am
Hi,

does your modified export script end with a newline?

Regardsß
Title: Re: Export csv file
Post by: pra15 on January 21, 2015, 08:27:21 am
Thanks it's ok now.

Just enter at the end of code.