
So, I wrote a simple loop function to do it, which reads the community names from an array. To add or remove a community from the list, just change the array definition at the top.
print_comp_header("Somewhere else to go"); ####################### # # Looping link function # ####################### var string[] comms; $comms[0]="s2component"; $comms[1]="component_help"; $comms[2]="theme_photoshop"; var int n; $n=((size $comms) - 1); """ <div align="center"> <img src="http://www.livejournal.com/palimg/component/clear.gif" border="0" height="10" width="200" /> """; foreach var int i (0 .. $n){ print "<a href=\"http://www.livejournal.com/userinfo.bml?user=$comms[$i]\" target=\"_blank\"><img src=\"http://stat.livejournal.com/img/community.gif\" border=\"0\" width=\"16\" height=\"16\" /></a><a href=\"http://www.livejournal.com/community/$comms[$i]/\" target=\"_blank\">$comms[$i]</a><br />"; } """ <img src="http://www.livejournal.com/palimg/component/clear.gif" border="0" height="10" width="200" /> </div> """; ############## print_comp_footer();