JeffreyWay/Tuts----jQuery-Mobile-RSS-Reader — Issue #1: Function to get the "name on feed"
Author: cubometa
Created: 2011-12-27 19:21:44+00:00
State: open

I think it's better if you call a function to know the "feed name" of the sites, because you might need it to link to it on a "Share" option and you avoid tampering with your precious $siteName var, which could become a const.

I could be something like this (PHP):

```php
function feedname($siteName) {
if($siteName === 'activetuts'){return 'flashtuts';}
else if($siteName === 'webdesigntuts'){return 'webdesigntutsplus';}
else {return $siteName;}
}
```