Skip to content

Instantly share code, notes, and snippets.

@mitemitreski
Created July 15, 2012 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mitemitreski/3117384 to your computer and use it in GitHub Desktop.
Save mitemitreski/3117384 to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
### Fancy Planet HTML template.
###
### When combined with the stylesheet and images in the output/ directory
### of the Planet source, this gives you a much prettier result than the
### default examples template and demonstrates how to use the config file
### to support things like faces
###
### For documentation on the more boring template elements, see
### examples/config.ini and examples/index.html.tmpl in the Planet source.
<head>
<title><TMPL_VAR name></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="<TMPL_VAR generator ESCAPE="HTML">">
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://planet.linux.net.mk/rss20.xml" />
<link rel="stylesheet" href="planet.css" type="text/css">
<script src="blokiraj.js" type="text/javascript"></script>
<script>
if (parent.frames.length > 0) {
parent.location.href = self.document.location
}
</script>
<link rel="SHORTCUT ICON" href="/favicon.png">
</head>
<body>
<div id="planet-main-content">
<h1><TMPL_VAR name></h1>
<TMPL_LOOP Items>
<TMPL_IF new_date>
<h2><TMPL_VAR new_date></h2>
</TMPL_IF>
<div name="<TMPL_VAR channel_id>">
<TMPL_IF new_channel>
### Planet provides template variables for *all* configuration options for
### the channel (and defaults), even if it doesn't know about them. We
### exploit this here to add hackergotchi faces to our channels. Planet
### doesn't know about the "face", "facewidth" and "faceheight" configuration
### variables, but makes them available to us anyway.
<h3><a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR channel_title ESCAPE="HTML">"><TMPL_VAR channel_name></a></h3>
<TMPL_IF channel_face>
<img class="face" src="images/<TMPL_VAR channel_face ESCAPE="HTML">" width="<TMPL_VAR channel_facewidth ESCAPE="HTML">" height="<TMPL_VAR channel_faceheight ESCAPE="HTML">" alt="">
</TMPL_IF>
</TMPL_IF>
<TMPL_IF title>
<h4><img src="images/arrow1.png" align="absmiddle"><a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR title></a></h4>
</TMPL_IF>
<div class="entry">
<p>
<TMPL_VAR content>
</p>
### Planet also makes available all of the information from the feed
### that it can. Use the 'planet-cache' tool on the cache file for
### a particular feed to find out what additional keys it supports.
### Comment extra fields are 'author' and 'category' which we
### demonstrate below.
<p class="date">
<a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_IF author>од <TMPL_VAR author> на </TMPL_IF><TMPL_VAR date><TMPL_IF category> на тема <TMPL_VAR category></TMPL_IF></a>
</p>
</div>
</div>
</TMPL_LOOP>
</div>
<!-- end main content-->
<div class="sidebar">
<center>
<img src="images/logo.png" width="182" height="138" alt="">
</center>
<h2>Жители</h2>
<ul>
<TMPL_LOOP Channels>
<li>
<span id="trgni_<TMPL_VAR id>"><a title="Не ги прикажувај статиите од овој автор." href="" onclick="return(stai('<TMPL_VAR id>','<TMPL_VAR name>'));"> <img src="images/list-remove_1.gif" onmouseover="this.src='images/list-remove.gif'" onmouseout="this.src='images/list-remove_1.gif'" border=0></a></span>
<span style="display:none" id="pokazhi_<TMPL_VAR id>"><a title="Прикажувај ги статиите од овој автор." href="" onclick="return(izvadi('<TMPL_VAR id>'));"> <img src="images/list-add_1.gif" onmouseover="this.src='images/list-add.gif'" onmouseout="this.src='images/list-add_1.gif'" border=0></a></span>
<a id="<TMPL_VAR id>" href="<TMPL_VAR link ESCAPE="HTML">" title="<TMPL_VAR title ESCAPE="HTML">"><TMPL_VAR name></a>
<a href="<TMPL_VAR url ESCAPE="HTML">"><img id="rss_<TMPL_VAR id>" src="images/feed-icon-8x8.png" border="0" /></a>
</li>
</TMPL_LOOP>
</ul>
<p>
<strong>Последна промена:</strong><br>
<TMPL_VAR date><br>
<em>Сите времиња се UTC.</em><br>
<br>
<a href="http://www.planetplanet.org/"><img src="images/planet.png" width="80" height="15" alt="Planet" border="0"></a>
<br>
<a href=http://planet.linux.net.mk/rss20.xml><img src=http://planet.linux.net.mk/images/rssfeed.png alt="RSS 2 Feed" border="0"></a>
</p>
<p>
<h2>Планетариум:</h2>
<ul>
<li><a href="http://www.fsf.org/blogs/">FSF blogs</a></li>
<li><a href="http://www.eff.org/deeplinks/">EFF deeplinks</a></li>
<li><a href="http://kernelplanet.org/">Kernel planet</a></li>
<li><a href="http://planet.freedesktop.org/">Planet freedesktop.org</a></li>
<li><a href="http://planet.fsnserbia.org/">Free software network -
Србија</a></li>
<li><a href="http://planet.fsa-bg.org/">Бугарска слободна
планета</a></li>
<li><a href="http://planet.mozilla.org/">Planet Mozilla</a></li>
<li><a href="http://planet.gnome.org/">Planet GNOME</a></li>
<li><a href="http://planetkde.org/">Planet KDE</a></li>
<li><a href="http://planet.jabber.org/">Planet Jabber</a></li>
<li><a href="http://www.planetapache.org/">Planet Apache</a></li>
<li><a href="http://www.planetpython.org/">Planet Python</a></li>
<li><a href="http://planet.perl.org/">Planet Perl</a></li>
<li><a href="http://planetruby.0x42.net/">Planet Ruby</a></li>
<li><a href="http://planet.twistedmatrix.com/">Planet Twisted</a></li>
<li><a href="http://classpath.wildebeest.org/planet/">Planet Classpath</a></li>
<li><a href="http://planet.ubuntulinux.org/">Planet Ubuntu</a></li>
<li><a href="http://planet.debian.net/">Planet Debian</a></li>
<li><a href="http://www.planetsuse.org/">Planet SuSE</a></li>
<li><a href="http://planet.archlinux.org/">Planet Arch Linux</a></li>
<li><a href="http://planetsun.org/">Planet Sun</a></li>
<li><a href="http://planet.arslinux.com/">Ars Linux</a></li>
<li><a href="http://fossplanet.osdir.com/">FOSS Planet</a></li>
<li><a href="http://live.linuxchix.org/">LinuxChix Live</a></li>
<li><a href="http://planet.slug.org.au/">Planet SLUG</a></li>
<li><a href="http://planet.humbug.org.au/">Planet Humbug</a></li>
</ul>
</p>
<p>
<h2>Задолжително</h2>
<center>
<a href="http://nosoftwarepatents.com"><img src="http://nosoftwarepatents.com/banners/90x40_1.jpg" alt="no software patents!"></a>
<br>
</center>
</p>
</div>
<div class="copyright">
Македонската GNU/Linux планета е администрирана од <a href="mailto:stojmir[AT]linux.net.mk">Иван Стојмиров</a>, <a href="mailto:arangel ет linux net mk">Арангел Ангов</a>, <a href="mailto:penguinista ет mail net mk">Дамјан Георгиевски</a> и <a href="mailto:glisha ет gmail com">Георги Станојевски</a>. Содржината е објавена под повеќе лиценци, проверете ги блоговите поединечно.
<script>init_blokiranje();</script>
</body>
</html>
body {
margin-top: 20px;
padding-left: 20px;
padding-right: 20px;
font-family: verdana, arial, sans-serif;
}
h1 {
font-family: verdana, arial, sans-serif;
font-weight: bold;
font-size: 120%;
padding: 4px;
margin-left: -13px;
color: #444444;
background-color: #eeeeee;
border: #aaaaaa 1px solid;
}
h2 {
font-family: verdana, arial, sans-serif;
font-weight: normal;
color: #444444;
border-bottom: 1px #aaaaaa solid;
margin-left: -10px;
padding-left: 5px;
}
h3 {
font-family: verdana, arial, sans-serif;
font-weight: bold;
color: #444444;
background-color: #eeeeee;
border: 1px solid #aaaaaa;
padding: 4px;
}
h3 a {
text-decoration: none;
color: inherit;
}
h4 {
font-family: verdana, arial, sans-serif;
font-weight: bold;
color: #666666;
}
h4 a {
text-decoration: none;
color: inherit;
}
img.face {
float: right;
margin-top: -3em;
}
.entry {
margin-bottom: 2em;
color: #666666;
font-size: small;
}
.entry .date {
font-family: verdana, arial, sans-serif;
color: grey;
}
.entry .date a {
text-decoration: none;
color: inherit;
}
.sidebar {
position: absolute;
top: 20px;
left: 15px;
margin-left: 0px;
margin-right: 5px;
padding-right: 0px;
padding-top: 0px;
padding-left: 0px;
font-family: verdana, arial, sans-serif;
font-size: x-small;
border: #aaaaaa 1px solid;
color: #444444;
}
.sidebar h2 {
font-size: 110%;
font-weight: bold;
background-color: #eeeeee;
color: #444444;
padding-left: 5px;
padding-top: 3px;
padding-bottom: 3px;
margin-left: 0px;
margin-top: 0px;
border: none;
}
.sidebar ul {
padding-left: 2ex;
margin-left: 0px;
margin-right: 5px;
list-style-type: none;
}
.sidebar ul li:hover {
color: grey;
}
.sidebar p {
/* border-top: 1px solid #eeeeee; */
/* margin-top: 30px; */
padding-top: 10px;
padding-left: 5px;
padding-right: 5px;
}
.sidebar a {
color: #444444;
}
.sidebar a:hover {
color: #444444;
}
a {
color: #990000;
text-decoration: none;
}
a:hover {
color: #990000;
text-decoration: underline;
}
.header {
position: absolute;
top: 0px;
left: 0px;
margin-left: 30px;
}
.copyright {
border-top: 1px #999999 dashed;
padding-top: 5px;
margin: 40px 20px 20px 20px;
font-size: x-small;
color: #666666;
}
.alignleft {
float:left;
}
.alignright {
float:right;
}
#planet-main-content {
margin-left: 255px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment