[PD] pd to webpage

Thomas O Fredericks tof at danslchamp.org
Thu Oct 18 22:43:18 CEST 2007


Attached, two abstractions that can help. Feel free to modify.

Tom

On 10/18/07, Martin Peach <martin.peach at sympatico.ca> wrote:
>
> Thomas O Fredericks wrote:
>
> >The help is in moocow/pdstring-help.pd
>
> It's not there in the autobuilt Pd version 0.40.3-extended-20070905 even
> though any2string is there in extra/flatspace, but I found it in cvs. I'll
> see if I can do the webserver with it.
>
> Martin
>
>
> >
> >Tom
> >
> >
> >On 10/18/07, Martin Peach <martin.peach at sympatico.ca> wrote:
> > >
> > > Thomas O Fredericks wrote:
> > >
> > > >What is the difference between [str] and [any2string]?
> > >
> > > I don't know. I can't find the help file for [any2string] so I don't
> >know
> > > how to use it. Maybe I have to look at the source code?
> > >
> > > >If I understand correctly str is a wrapper for standard string
> >functions
> > > >and
> > > >it's output is a pointer to a string.
> > >
> > > More or less true. There are also functions to output the string as
> >bytes
> > > or
> > > symbols.
> > >
> > > >I believe this approach is more limited that using any2string because
> >all
> > > >basic string functions can be recreated once a symbol is converted to
> a
> > > >series of bytes. For example, to split a string along a space
> character
> > > you
> > > >can use [list split 32], but with the [str] architecture, you need to
> >use
> > > >[str csplit 32].
> > >
> > > That's one more character to type ;)
> > > If the web page patch could be done with [any2string] and [list] then
> > > sure.
> > > When I did the string stuff I was not aware of any other way of
> > > manipulating
> > > arbitrary lists of bytes. Pd tries to interpret anything you type and
> >some
> > > characters don't get through unmangled. Even with the [str] object you
> > > have
> > > to specify them by ascii code.
> > >
> > > Martin
> > >
> > >
> > >
> > > _______________________________________________
> > > PD-list at iem.at mailing list
> > > UNSUBSCRIBE and account-management ->
> > > http://lists.puredata.info/listinfo/pd-list
> > >
>
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071018/f2ca4929/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: list.compare.pd
Type: application/octet-stream
Size: 449 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071018/f2ca4929/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: list.compare-help.pd
Type: application/octet-stream
Size: 274 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071018/f2ca4929/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: list.split.on
Type: application/octet-stream
Size: 1141 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071018/f2ca4929/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: list.split.on-help.pd
Type: application/octet-stream
Size: 280 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071018/f2ca4929/attachment-0003.obj>


More information about the Pd-list mailing list