opml.tpl 613 B

12345678910111213141516171819202122
  1. {*
  2. * opml.tpl
  3. * gitphp: A PHP git repository browser
  4. * Component: OPML template
  5. *
  6. * Copyright (C) 2009 Christopher Han <xiphux@gmail.com>
  7. *}
  8. <?xml version="1.0" encoding="utf-8"?>
  9. <opml version="1.0">
  10. <head>
  11. <title>{$pagetitle} OPML Export</title>
  12. </head>
  13. <body>
  14. <outline text="git Atom feeds">
  15. {foreach from=$projectlist item=proj}
  16. <outline type="rss" text="{$proj->GetProject()}" title="{$proj->GetProject()|escape}" xmlUrl="{geturl fullurl=true project=$proj action=atom}" htmlUrl="{geturl fullurl=true project=$proj}" />
  17. {/foreach}
  18. </outline>
  19. </body>
  20. </opml>