I looked once again the BW documentation and came upon CSV Tables
plugin.
Can we have some temporary solution by using the plugin, supposing one
col per row:
[(csv page=test.csv fmt="<a name='{count}'><p>{+row}</p></a>"')] ?

Anther solution could be a function similar to [(list)] but instead of
',' delimiter to use '<br/>' delimiter or '\n' delimiter. Or just to
enable the list-function with ability to work with page content and to
use custom delimiter. And to process the results from custom item
number. It is pity that there is no documentation about this nice
function, which combined with log-function, could form a quick one-
column data store for easy access.

This function could be modification of [(include)], because it works
with lines if there is possibility to output these lines into
template :-)

Certainly these are temporary solutions, because they require one page
as source and other as display.

Thanks again,

Bogdan

PS. By the way, the examples in solutions.system.csv use test.csv,
which contains just the data content (no col labels). How the function
knows which col has label 'state': [(csv page=test.csv row=2
fmt='Name: {+name}, Age: {+age}, State: {+state}')] ?



On 10 Дек, 14:55, The Editor <[email protected]> wrote:
> Did this code I suggested not work?
>
> [(search group=test count=10 fmt='<p><a name="line_<(counter +
> output=true)>">{+p}</a></p>' join='')]
>
> If not you might try:
>
> [(search group=test count=10 fmt='<p><a name="line_<(counter +
> output=true)>">{+p}</a></p>' join='' escape=true)]
>
> Let me know if this doesn't work.  There's probably some way to get
> what you want. If not we can hack the code.
>
> I do have plans to slightly rewrite the code for the display templates
> so the join feature works better. But not sure when I'll get to it.
>
> Cheers,
> Dan
>
>
>
> On Thu, Dec 10, 2009 at 4:59 AM, Bogdan <[email protected]> wrote:
> > It is just fine, thanks. If there is some update to it, I will send it
> > again.
>
> > You can help me if you can make plug-in to unable on part of the site
> > to render the lines into custom template. Or even you can include it
> > into the core of Boltwire - the option to configure group of pages to
> > be rendered in custom template of the type: <p>$1</p> or $1<br/> (by
> > default), or <a name='{count}'><p>$1</p></a>, etc. That would help
> > with the discussions about 'how the lines to be processed...' Everyone
> > can have his own preference, and there would be default template,
> > which will serve the system pages of the groups site*, actions*,
> > code*, rss*... and they wouldn't need to rearranged after this issue.
>
> > If your To do list is too busy, you can point me out which lines of
> > the barn files process this activity to try it myself although php is
> > not my cup of tea.
>
> > Thank you in advance,
>
> > Bogdan
>
> > On 9 Дек, 23:03, The Editor <[email protected]> wrote:
> >> P.S. I gave this title to the Bulgarian language file. Can you verify
> >> it is correct? I pulled it up from Google...
>
> >> Áúëãàðñêè (Bulgarian)
>
> >> On Wed, Dec 9, 2009 at 3:57 PM, The Editor <[email protected]> wrote:
> >> > Ok, I understand. Let me know if I can help with your project in some
> >> > way. Also, thanks for the Bg translation page. I just added it to the
> >> > BoltWire site!  Great!  It's really cool seeing BoltWire in Cyrrilic
> >> > characters...
>
> >> > Cheers,
> >> > Dan
>
> >> > On Thu, Dec 3, 2009 at 4:29 AM, Bogdan <[email protected]> wrote:
> >> >> Thanks for the prompt reply, Dan!
>
> >> >> The Bible plugin works well in my site. But it essentially is more
> >> >> like referencing system. It all necessary texts are ready prepared and
> >> >> need just a way to reference to them. In this case even Bible would
> >> >> not be so necessary to install locally, because if there is some wiki-
> >> >> Bible centre with all the scriptures in different languages, one could
> >> >> use the interwiki method to reference and extract necessary citations.
>
> >> >> My case is a little different. My site is in Bulgarian. (You can add
> >> >> Bulgarian translation of 
> >> >> Boltwire:http://testament.vissarion.eu/bg/files/download/site.language.bg
> >> >> ). I need the people from the project to be able to add files, to add
> >> >> and delete verses and what could be the work-flow? Every time new
> >> >> correction should be sent to me for anchor processing?! My aim is to
> >> >> arrange the system as easy as possible to boost this process. That is
> >> >> why I thought of page processing, which could take plain text file
> >> >> with the text of particular chapter and display it in a comfortable
> >> >> design with anchor at every verse for easy referencing. May be it is
> >> >> possible to accomplish it with hidden content and templated display.
>
> >> >> Besides, if I choose bible plugin, I would need more support to adapt
> >> >> it to my need, because my Scripture texts are not confined just within
> >> >> the Bible. I have to add other books and to attract community to work
> >> >> on them.
>
> >> >> On the other hand, how do you actually put numbered anchor in front of
> >> >> every line of 1190 files in half an hour? What is your software? I use
> >> >> Dreamewaver for web design and sometimes Notepad++ for scripts.
>
> >> >> By the way, the link:http://www.fast.st/fast/index.php?p=test.bible
> >> >> works fine from Bulgaria.
>
> >> >> Thanks again for the support,
>
> >> >> Bogdan
>
> >> >> On 2 Äåê, 16:32, The Editor <[email protected]> wrote:
> >> >>> On Wed, Dec 2, 2009 at 7:54 AM, Bogdan <[email protected]> wrote:
> >> >>> > Thanks,
>
> >> >>> > I will try this method.
>
> >> >>> > Actually, I try to adapt Boltwire to work with Scripture texts with
> >> >>> > verses, to enable people to work together on translations of such 
> >> >>> > kind
> >> >>> > of texts. And to give chance for direct links to specific verses or
> >> >>> > range of verses.
>
> >> >>> Happy to help with your project like this if I can.
>
> >> >>> > I looked at the Bible plugin and it really requires too high 
> >> >>> > knowledge
> >> >>> > of PHP and Boltwire architecture for me to adapt it to my needs.
> >> >>> > Moreover, it requires manual insertion of the anchors, which is not
> >> >>> > suitable for users (non-programmers).
>
> >> >>> Actually, I think you will really like the Bible plugin if you get it
> >> >>> working. Not sure the plugin is the latest draft, if it doesn't work,
> >> >>> I can try to update it. But here's a sample of what it does.
>
> >> >>>http://www.fast.st/fast/index.php?p=test.bible
>
> >> >>> The first box shows what markup you can type in. The second box shows
> >> >>> the display. It automatically recognizes most common Bible
> >> >>> abbreviations, and you get either mouseover popups or can pull in the
> >> >>> entire verse. The bible function gives even more options. I use it
> >> >>> extensively in my forums. Very nice. I also have many Bible tools on
> >> >>> my site all running off this main plugin. It's been a jewel. Take a
> >> >>> look and let me know if this won't work for you. I also have a full
> >> >>> index of the entire KJV Bible for fast searching of it.
>
> >> >>> If you want another translation beside the KJV (other languages?) it
> >> >>> is not that hard to generate it. I just used the search and replace
> >> >>> feature on my web editing software and automatically inserted all the
> >> >>> anchors. Took a half hour or so.  I could possibly even write a script
> >> >>> to automate the process even better. It's also pretty easy to
> >> >>> customize the book names and abbreviations. Let me know if this is a
> >> >>> need or an area of interest.
>
> >> >>> Of course if you have the solution you want already, that's great too. 
> >> >>>  :)
>
> >> >>> 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 
> >> >> athttp://groups.google.com/group/boltwire?hl=en.
>
> > --
>
> > 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 
> > athttp://groups.google.com/group/boltwire?hl=en.

--

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.


Reply via email to