Difference between revisions of "Template:Git feed"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(created)
 
(display it better)
 
Line 1: Line 1:
{|style="padding: 0em 0em 1em 1em; width:100%"
+
<includeonly>{|style="padding: 0em 0em 1em 1em; width:100%"
 
|class="MainPageBG" style="border:1px solid #cedff2; background:#f5faff; vertical-align:top"|
 
|class="MainPageBG" style="border:1px solid #cedff2; background:#f5faff; vertical-align:top"|
 
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#f5faff;"
 
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#f5faff;"
Line 7: Line 7:
 
<div style="text-align: right;" class="noprint">[http://git.openvz.org/?p={{{1}}} Git repo {{{1}}}]</div>
 
<div style="text-align: right;" class="noprint">[http://git.openvz.org/?p={{{1}}} Git repo {{{1}}}]</div>
 
|}
 
|}
|}<noinclude>
+
|}</includeonly><noinclude>
 +
 
 +
This template is for displaying latest commits to an OpenVZ git repository via RSS feed.
  
 
== Usage ==
 
== Usage ==
Line 15: Line 17:
 
=== Examples ===
 
=== Examples ===
  
{| class="wikitable"
+
{| border="1"
 
! Code !! Result
 
! Code !! Result
 
|-
 
|-

Latest revision as of 11:55, 14 April 2008


This template is for displaying latest commits to an OpenVZ git repository via RSS feed.

Usage[edit]

{{Git feed|name|reponame}}

Examples[edit]

Code Result
{{Git feed|vzctl|vzctl}}

vzctl
Feed-icon.svg RSSAtom

Extension:RSS -- Error: Not a valid URL: http://git.openvz.org/?p={{{1}}};a=rss%7Ccharset=UTF-8%7Cshort%7Cdate=d M Y|max=10
{{Git feed|linux-2.6.18-openvz|Linux 2.6.18}}

Linux 2.6.18
Feed-icon.svg RSSAtom

Extension:RSS -- Error: Not a valid URL: http://git.openvz.org/?p={{{1}}};a=rss%7Ccharset=UTF-8%7Cshort%7Cdate=d M Y|max=10