mDigger Service Community

Information delivery service for mobile devices
Welcome to mDigger Service Community Sign in | Join | Help
in
Home Forums

Ability to specify item level for links

Last post 08-15-2008, 3:04 PM by ayking. 2 replies.
Sort Posts: Previous Next
  •  08-15-2008, 12:29 PM 242

    Ability to specify item level for links

    Hi,

    I'm trying to create a channel, and the source is a start page with links to both next page with links and individual articles. I create a second level for the articles and they work great. However, if I click on the link to the next page of article indexes, the page is parsed with this second level instead of first level and no content is shown.

    Is it possible to show within the <a> tag which item level to use?

    Thanks.

  •  08-15-2008, 1:12 PM 244 in reply to 242

    Re: Ability to specify item level for links

    Hi,

    Yes, you can assign name to a template level (select it in combobox and click "Attributes" button) and then specify it in "template" attribute like this:
        <a href="..." template="Article">...</a>

    But bear in mind template has to have at least one unnamed level for the channel processor to start from.

  •  08-15-2008, 3:04 PM 246 in reply to 244

    Re: Ability to specify item level for links

    That works!

    I have an unnamed level at the top, and the exact copy of the top level with attribute "Indexes". Anchor links with template attribute of "Indexes" use this template while other links uses the other "Articles" template. Thanks a lot!
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems