fonction import

More
12 years 1 month ago #29849 by ggppdk
Replied by ggppdk on topic fonction import

ggppdk wrote: \n
\t
etc are special characters

these characters will never appear as \n or as \t inside your file, for \n you will see a line change and for \t 1 to 8 spaces


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #29853 by tonnick
Replied by tonnick on topic fonction import
well, to be honest I don't know why you persist on \n and \t. this is not the point.

my question was simple.

is you create for exemple, a table with excell and registered as CSV with ; raws separators and " item separators, and then edit with notedap :

"title1";"title2";"title3";"title4"
"content1";"content2";"content3";"content4"

there is no \n, no \t etc....

I couldn't import it

then to use system as you show it, I replaced ; by ~~

"title1"~~"title2"~~"title3"~~"title4
"content1"~~"content2"~~"content3"~~"content4"

it did not work neither

then I added at the begining of segon line ~~ as you put it

"title1"~~"title2"~~"title3"~~"title4
~~"content1"~~"content2"~~"content3"~~"content4"

and it works.

So, as you made moficiations, I hope with new version, I will be able to import directly file like

"title1";"title2";"title3";"title4"
"content1";"content2";"content3";"content4"

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #29855 by ggppdk
Replied by ggppdk on topic fonction import
Parsing algorithm is verified and it will work with any separators that does not appear inside the data, and i have provided a way of checking the result (the line that you have uncommitted prints the result of parsing of the first CSV record)

the updated version adds more options to the debugging, and more configuration options,

it has no bug fixes


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #29856 by micker
Replied by micker on topic fonction import
if you need better option you can use flexiimport
regards

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #29857 by tonnick
Replied by tonnick on topic fonction import
ok will try new version tonight

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #29858 by tonnick
Replied by tonnick on topic fonction import
well, I already used flexi import in previous version.

But I would think that if there is integrated tool to do what I need, would be better to use it, instead of adding another component for same job ;)

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.447 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline