CSV

View: New views
4 Messages — Rating Filter:   Alert me  

CSV

by ian Carr-de Avelon-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does anyone have an example of how to use the Public.Standards.CSV module?
Yours
Ian


Re: CSV

by Bertrand LUPART :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

> Does anyone have an example of how to use the Public.Standards.CSV module?

I begun a little documentation in the wiki:
<http://www.gotpike.org/PikeWiki/index.pike?page=PikeModules/Module/Publ
ic.Standards.CSV>

That's a very first version to be considered as a draft. Feel free to
ask for some unclear parts.


Disclaimer: i didn't managed to get a good result using the SnipSnap
syntax for now.


Another question is why the autodocs for the classes in the source file:
<http://modules.gotpike.org/view_version_file.html/51/0.2/Public_Standar
ds_CSV-0.2/module.pmod.in>
doesn't makes it in the online documentation?
<http://modules.gotpike.org/display_docs.pike/Public.Standards.CSV/0.2/5
1>



--
Bertrand LUPART

http://bertrand.gotpike.org/


Re: CSV

by Bill Welliver :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Disclaimer: i didn't managed to get a good result using the SnipSnap
> syntax for now.

Noticed that... not sure what the problem is; I'll try to take a look
later.


> Another question is why the autodocs for the classes in the source file:
> <http://modules.gotpike.org/view_version_file.html/51/0.2/Public_Standar
> ds_CSV-0.2/module.pmod.in>
> doesn't makes it in the online documentation?
> <http://modules.gotpike.org/display_docs.pike/Public.Standards.CSV/0.2/5
> 1>

Not sure... if you build the refdoc yourself, does it appear as it should?
it could be a problem with the XSL transform.

(be glad to have help with that one...)

Bill


Re: CSV

by Stephen R. van den Berg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ian Carr-de Avelon wrote:
>Does anyone have an example of how to use the Public.Standards.CSV module?

If you just want to parse CSV files, you could also use the Parser.Tabular
module.  See the example in the existing docs for a CSV declaration.
--
Sincerely,
           Stephen R. van den Berg.

"Make it as simple as possible.  And no simpler."