[daisy] Get complete navigation Tree

Sieranski, Greg greg.sieranski at quoininc.com
Tue May 6 14:58:57 CEST 2008


Sieranski, Greg wrote:
> Paul Focke wrote:
>> If the DaisyLinkTransformer is in your pipeline then it should transform
>> all your
>> <a href="daisy:[docid]@[branchid]:[languageid]"/> elements into the
>> links you are looking for.
>>
>> Paul
>>
>> On Mon, 2008-05-05 at 12:28 -0400, Sieranski, Greg wrote:
>>  
>>> Paul Focke wrote:
>>>    
>>>> Sure.
>>>>
>>>> Using a publisher request
>>>> http://cocoondev.org/daisydocs-2_2/373-cd/194-cd/424-cd.html
>>>>
>>>>
>>>> Or writing an extension. A good starting point for this could be the
>>>> navigation aggregation (it'll show you how to access the navigation
>>>> manager programmatically)
>>>> http://cocoondev.org/daisydocs-2_2/374-cd/60-cd/samples/203-cd.html
>>>> You'll have to have a look at the extension code aswell. It is 
>>>> found in
>>>> <daisy_home>/daisywiki/webapp/daisy/sites/cocoon
>>>>
>>>> Paul
>>>>
>>>>
>>>> On Fri, 2008-05-02 at 15:46 -0400, Sieranski, Greg wrote:
>>>>        
>>>>> Is there a way in daisy to get the complete navigation tree. This 
>>>>> would include all the queries, imports, etc. It also needs to be 
>>>>> fully expanded.
>>>>>
>>>>>             
>>>> _______________________________________________
>>>> daisy community mailing list
>>>> Professional Daisy support: 
>>>> http://outerthought.org/en/services/daisy/support.html
>>>> mail to: daisy at lists.cocoondev.org
>>>> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
>>>>         
>>> Looking at the navaggregator ext example it does basically 
>>> everything that I need. The only think I would like is to have the 
>>> url's of the documents. I was thinking of maybe uUsing the 
>>> DaisyLinkTransformer? Or is there a better way to get the url's?
>>>
>>>     
>> _______________________________________________
>> daisy community mailing list
>> Professional Daisy support: 
>> http://outerthought.org/en/services/daisy/support.html
>> mail to: daisy at lists.cocoondev.org
>> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
>>   
> Rather than have the navaggregator example display on one page the 
> content of all the menu items. I want to just get the full url paths  
> for all the documents in the site. Preferably as xml. Would just 
> running the example through the DaisyLinkTransform provide that?
>
I am looking to create a sitemap.xml and for the

<url <http://www.sitemaps.org/protocol.php#urldef>>
      <loc <http://www.sitemaps.org/protocol.php#locdef>>http://www.example.com/</loc>
</url

I want to be able to dynamically get all the links in the main navigation menu without having to hard code them.


-- 
Regards,
</Greg>



More information about the daisy mailing list