I have the following definitions:
* in Blog path settings:
[user-raw]/blog
* in Node path settings / Pattern for all Blog entry paths:
[author-name-raw]/blog/[title-raw]
(copied and pasted, so there are no spelling mistakes).
Blog path settings work fine. Then, when I create new blog entry using Create content / Blog entry, everything works fine too. Example path:
pendragon/blog/test
However, I am also using FeedAPI to fetch RSS feeds from other sites, and save fetched RSS items as blog entries.
And here the problem starts, as all new created blog items have path:
blog/test
(without username at the beginning).
Tried deleting all existing URL aliases using both URL aliases / Delete aliases, and directly from the database. Did not help. After bulk regenerating all node aliases, blog aliases are incorrect again.
The same applies to newly created items.
Any ideas?
Comments
Comment #1
maciej.zgadzaj commentedSome more info on this.
[author-name] does not work either.
[author-uid] works fine though.
Comment #2
gregglesThis is only a problem for nodes generated by FeedAPI, right? Manually created nodes work fine.
Last time I investigated FeedAPI created nodes in a non-standard way so Token isn't able to get the right values out of the nodes.
I think there might be a patch in the token queue that fixes this, but I wasn't able to find it in a brief search.
Comment #3
maciej.zgadzaj commentedThanks for the hint greggles. Will investigate it in a free moment... some time in the near future. ;)
Comment #4
maciej.zgadzaj commentedOk, have found mentioned issue, there was no working solution there (at least for me), but had a closer look at the code and came out with my own.
Probably not ideal one, but at least working.
You can find it here: http://drupal.org/node/201110#comment-1488576
Comment #5
dave reidSounds like it's a bug in feedapi then from the linked issue.