I worked out a simple solution for markdown Meta data. In the myloadpage, 
when 'data' is requested;. I simply read the markdown metadata on the page, 
and reformat it and append it to the boltwire data var section of the page 
prior to return.  This solved the biggest headaches I had getting meta date 
into zones that were rendered before the main zone.  And I don't need to 
use or set any BOLTvars, or use and BOLTcache, getzones, etc....   It all 
just flows into normal BW processing once the data is appended to the 
datavar section. 

Working the last few problems. Post it at the end of the week.


On Monday, September 14, 2015 at 10:17:49 AM UTC-4, Dan wrote:
>
> I should add about the data and page vars, that you could conceivably use 
> BoltWire's built in capabilities as long as your page load function only 
> uses the section above the ~data~ delimiter in the page source code. You 
> can see how that is handled in the default loadpage function.
>
> Then, to get your page and data vars defined for a given page, you only 
> need to call the following function in you myBOLTgetzone function for the 
> main zone:
>
> BOLTvarCache('', $page);
>
> Cheers,
> Dan
>
> On Mon, Sep 14, 2015 at 9:13 AM The Editor <[email protected] <javascript:>> 
> wrote:
>
>> To define page variables is similar to data vars, only without the colon:
>>
>> $BOLTvar['#'][$page][$f] = $v;
>>
>> You will need to trigger some way to define those vars, possibly in the 
>> myBOLTgetzone function.
>>
>> Cheers,
>> Dan
>>
>>
>> On Sat, Sep 12, 2015 at 10:25 PM 'jacmgr' via BoltWire <
>> [email protected] <javascript:>> wrote:
>>
>>>
>>> DAN: Question:  Since I use my own loadpage; how can i get my own meta 
>>> data from the page and insert them into the boltwore data vars for the page
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/d/optout.

Reply via email to