Posted By

nathwill on 09/19/10


Tagged

yahoo store sitemap RTML


Versions (?)

Heirarchical SiteMap RTML Template for Yahoo! Stores


 / Published in: Other
 

use this RTML template to create a nested, heirarchical sitemap for your Yahoo! Store

  1. hint: sitemap is called by body-switch template, change the call to the custom nested-sitemap template
  2.  
  3. nested-sitemap()
  4.  
  5. DIV id "info-div"
  6. DIV class "infoText"
  7. WITH-OBJECT :index
  8. DIV id "sitemap-main-contents"
  9. WHEN @contents
  10. CALL :nested-sitemap-section
  11. @contents
  12. WHEN @price
  13. DIV id "sitemap-item"
  14. WITH-LINK TO id
  15. TEXT @name
  16. LINEBREAK
  17.  
  18. nested-sitemap-section(contents)
  19.  
  20. FOR-EACH-OBJECT contents
  21. DIV
  22. WHEN @contents
  23. DIV id "sitemap-contents"
  24. FONT size "+1"
  25. face @text-font
  26. TEXT @name
  27. TEXT "<hr width=\"200px\">"
  28. CALL :nested-sitemap-section
  29. @contents
  30. WHEN @price
  31. DIV id "sitemap-item"
  32. WITH-LINK TO id
  33. TEXT @name
  34. LINEBREAK

Report this snippet  

You need to login to post a comment.