export
Now you can export to your website or blog list of your latest programs or list of popular programs, or any other list that is available in RSS on this site.
Here's how to do this:
Add this piece of code to your website / blog template:
<script language="JavaScript"
src="http://myprogs.net/rss/user/kuchin/?type=js&limit=5"
type="text/javascript"></script>
Where you should replace 'kuchin' by your username if you want to get list of your programs, not mine :)
Actually, as you can see, you just take any RSS link on this site and add
?type=js&limit=5
part
where 'limit' parameter can control number of items shown.
If you want to control how it will look on your site, this is how it looks like:
<div class="programs"> <p class="programs_title"><a href="http://myprogs.net/kuchin" title="Latest programs added by kuchin to MyProgs" target="_blank">MyProgs/kuchin</a></p> <ul class="programs_items"> <li><a href="..." title="..." target="_blank">Mozilla Firefox</a></li> </ul></div>
So you just need to add styles to those element classes and subclasses.
For example, something like this:
<style>
.programs {
border: 1px solid #000;
width: 15em;
}
.programs_title {
text-align: center;
}
.programs_items {
list-style-type: none;
margin: 1em;
}
.programs_items li a:hover {
background-color: #CCC;
}
</style>



