Author Topic: Export csv file  (Read 1866 times)

0 Members and 1 Guest are viewing this topic.

Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Export csv file
« 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.

Offline dgdoo

  • Member
  • *
  • Posts: 2
    • View Profile
Re: Export csv file
« Reply #1 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

Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Re: Export csv file
« Reply #2 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?

Offline dgdoo

  • Member
  • *
  • Posts: 2
    • View Profile
Re: Export csv file
« Reply #3 on: January 21, 2015, 08:19:11 am »
Hi,

does your modified export script end with a newline?

Regardsß

Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Re: Export csv file
« Reply #4 on: January 21, 2015, 08:27:21 am »
Thanks it's ok now.

Just enter at the end of code.