For Drupal 6.x

Not sure if this is PathAuto or URL Alias, or..., but I'm wanting to know if it's possible to (auto-generate)...

This...

tiltedblog.com/{aggregator/sources/35}

to just...

tiltedblog.com/{feedtitle}

I have some blogs and other information being fed into my site and the URL's are rather long right now as...

tiltedblog.com/aggregator/sources/35

But the title in my Feed Aggregator module is something like "John's Blog", so I'd rather see...

tiltedblog.com/johns-blog

I can do these 1-by-1, but I'd rather have it auto-generated if at all possibe.

Any help is appreciated.

Comments

KahneFan’s picture

I see there are tags you can put between brackets (i.e. [user-raw]), so I'm guessing I would need something like

Existing System Path:
tiltedblog.com/aggregator/sources/35 (and replace the "35" with whatever the [???] tag would be)

Path Alias:
tiltedblog.com/johns-blog (and replace "johns-blog" with whatever the [???] (feed title) tag would be)

doublejosh’s picture

Hello,

I'm looking for a better solution to the same issue. No pathauto setting available for aggregator sources, because they're not nodes.
Two solutions I can think of (aside from creating each alias manually)...
1 -- Set up a Workflow NG action to create the alias when an aggregation source is added. (not sure if this could be done among the triggers, haven't tried it.)
2 -- Use the SimpleFeed module to process your feeds and build aggregation. It saves everything as modules, so pathauto (and a number of other things) are then possible. Don't forget to download the SimplePie .inc file though!

I went with option 2 but I still wish there was an easier way!