summaryrefslogtreecommitdiff
path: root/templates/atomitem.tmpl
blob: 1b1d686dddebb0d830e1c32e2c203cf5c03469ff (plain)
  1. <entry>
  2.     <title><TMPL_VAR TITLE></title>
  3. <id><TMPL_VAR URL></id>
  4. <link href="<TMPL_VAR PERMALINK>"/>
  5. <TMPL_IF NAME="AUTHOR">
  6. <author><name><TMPL_VAR AUTHOR ESCAPE=HTML></name></author>
  7. </TMPL_IF>
  8. <TMPL_IF NAME="COPYRIGHT">
  9. <rights type="xhtml" xml:lang="en">
  10. <div xmlns="http://www.w3.org/1999/xhtml">
  11. <TMPL_IF NAME="LICENSE">
  12. <TMPL_VAR LICENSE>
  13. <TMPL_VAR COPYRIGHT>
  14. <TMPL_ELSE>
  15. <TMPL_VAR COPYRIGHT>
  16. </TMPL_IF>
  17. </div>
  18. </rights>
  19. <TMPL_ELSE>
  20. <TMPL_IF NAME="LICENSE">
  21. <rights type="xhtml" xml:lang="en">
  22. <div xmlns="http://www.w3.org/1999/xhtml">
  23. <TMPL_VAR LICENSE>
  24. </div>
  25. </rights>
  26. </TMPL_IF>
  27. </TMPL_IF>
  28. <TMPL_IF NAME="CATEGORIES">
  29. <TMPL_LOOP NAME="CATEGORIES">
  30. <category term="<TMPL_VAR CATEGORY>" />
  31. </TMPL_LOOP>
  32. </TMPL_IF>
  33. <updated><TMPL_VAR MDATE_3339></updated>
  34. <published><TMPL_VAR CDATE_3339></published>
  35. <TMPL_IF NAME="ENCLOSURE">
  36. <link rel="enclosure" type="<TMPL_VAR TYPE>" href="<TMPL_VAR ENCLOSURE>" length="<TMPL_VAR LENGTH>" />
  37. <TMPL_ELSE>
  38. <content type="xhtml" xml:lang="en">
  39. <div xmlns="http://www.w3.org/1999/xhtml">
  40. <TMPL_VAR CONTENT>
  41. </div>
  42. </content>
  43. </TMPL_IF>
  44. </entry>