I would like to add a linked RSS icon to the footer of scholar sites. I know that the URL to an RSS feed will be:
example.com/professorname/feed

However, I'm unsure of how to programmatically get the URL to the scholar site so I can build the link and insert it into the page.tpl.php. Is there a recommended method for this?

Comments

freescholar’s picture

If you want this on the footer of all scholar sites, create a block with the rss link etc then from the Admin menu, look at
Site Building > Context and add that block under the section titled:
openscholar-section-sitewide_front
openscholar front context

and it should appear in the Scholar sites and not on the main sitewide pages.