No 'Aggregator Categories' / no localfeed
zywieco - March 4, 2008 - 13:26
| Project: | FeedField |
| Version: | 5.x-1.0 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Maybe it would be a good idea to not display the 'Aggregator Categories' label if no categories have been defined in aggregator module. So we would only have
feed title: My Feed Title
feed type: select one
feed url: example.com/myfeed
no 'Aggregator Categories' label
Also, when using a localhost feed for testing purposes the URL was rejected by the validating function
function feedfield_validate_link($text) [@ line 377]. It was accepted in the aggregator and works.
I added a quich check for this, which solved my local feed problem.
if (!stristr($text,'http://localhost')){
if (!preg_match( whatever
}//end localhost test
else { etc...