[Pmwiki-users] Re: Extract Wiki data as Ascii

Patrick R. Michaud pmichaud
Sun Jul 25 19:02:16 CDT 2004


On Sun, Jul 25, 2004 at 10:12:41PM +0200, Albi Rebmann wrote:
> >>is it possible to extract wiki data to Ascii?
> >
> >add ?action=source to the end of any page url.  Or did you mean
> >something else by your question?
> 
> Thanks this looks fine. I need it as file, but using this link together 
> with w3m/lynx will do the rest.

Oh, if you want it directly from the file,

  grep '^text=' wiki.d/Group.SomePage | tr '\262' '\012'

will retrieve the text directly from a file (with a leading "text=",
but that can usually be removed w/o too much difficulty).

Pm



More information about the pmwiki-users mailing list