On Wed, Apr 15, 2009 at 6:42 AM, DrunkenMonk <[email protected]> wrote:
>
>> He suggested to use join
>
> With join, I could remove the line breaks (when using fmt, with
> template one can do without). I need them, I just don't want them
> converted to <br />
>
> This isn't a priority anymore, as the boxed message only needs to be
> human readable after I've run it through a custom plugin, so I added a
> search and replace there.
>
> I suppose i could take the text, run it through a list command
> (assuming [session list] is viable)
> [session list "[(search ...)] delimiter='<br />' join='\n'"]
> or something.
>
> It would be nice to be able to generate boltwire source from searches.
Not sure if this thread is resolved or not but I think we have some
problems doing this. I tried this:
[box mypages cols=50 rows=10][(search group=test count=10 join=','
template='{+p}')][box]
And was able to get a nice csv list of page names, but could not get
simple line returns. It seems the way the display functions work it
precludes this. And to fix it might be a bit challenging, as it get's
quite complex, particularly with the vertical line spacing problems we
have recently introduced. Looking at the code I see some changes that
probably could/should be made, but I will put them on a todo list till
I have more time.
Sorry I can't offer something better right off, but it sounds like you
have come up with at least a temporary working solution. We'll do
better eventually...
Cheers,
Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---