If the filename is always the ID you can just use the List element
which will add the publication path with the right folder to your
published page

should work like that:

<?xml version="1.0" encoding="ISO-8859-1"?>
<url_list>
    <!IoRangeList><url><%lst_navlist%></url>
    <!/IoRangeList>
</url_list>

forget the ID element, it's not needed for your desired solution.
beside you could use it as an attribute or something like that inside
your xml, with that you could filter/sorward also to files which have
edited filenames, could enhance the SEO thing if necessary in your
(web?)project..


On 5 Dez., 21:01, Tiffany <[EMAIL PROTECTED]> wrote:
> hey mark, we did a "forwarder" as you called it and its working great
> except one piece.
> For some reason I can not get the list of page ids to dynamically
> populate on my xml file.
> Here is my code:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <url_list>
>     <!IoRangeList><url><!--<%lst_navlist%>--><%inf_page_id%>.html</
> url><!/IoRangeList>
> </url_list>
>
> I'm not sure if I'm doing this correctly as I want RedDot to output a
> list of the page ids in this fashion:
> <url>a/1.html</url>
> <url>a/2.html</url>
> <url>b/3.html</url>
>
> etc...
> How do I populate this list with directories in tact?
>
> Thanks!
>
> On Dec 4, 3:48 am, markus giesen <[EMAIL PROTECTED]> wrote:
>
> > PS. hm if it has to work without Javascript we're screwed.. or just
> > can use the forwarder.
> > I suggest a mix out of both options - non JS users will be forwarded,
> > JS users will have the nifty ajax features..
>
> > On 3 Dez., 22:52, bushland25 <[EMAIL PROTECTED]> wrote:
>
> > > Are you looking to use RedDot's search, or a custom search that you
> > > will build?
>
> > > On Dec 3, 11:31 am, Tiffany <[EMAIL PROTECTED]> wrote:
>
> > > > We are publishing our articles using the page id numbers as the file
> > > > name. I want to create a search feature just for the article numbers
> > > > where the user will enter the article number and be taken to the
> > > > corresponding page. Has anyone done this or have advice?
>
> > > > Thanks for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" 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/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to