Error when generating SIOC RDF link for a blog page

liamgh - May 18, 2008 - 23:04
Project:SIOC
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:scor
Status:closed
Description

Just installed this to my site: http://www.greenhughes.com where I have the blog as my default front page. The SIOC module was generating a link of http://www.greenhughes.com/sioc/forum/1 instead of http://www.greenhughes.com/sioc/blog/1 for this page. Looks like this is due to line 653 in the function sioc_autodiscovery which says:

else if (arg(0)=='blog' && $id=arg(1)) $type = "forum/$id";

changing this to:
else if (arg(0)=='blog' && $id=arg(1)) $type = "blog/$id";

seemed to fix it!
Hope this helps.

#1

scor - October 17, 2008 - 12:00
Assigned to:Anonymous» scor
Status:active» fixed

thanks liamgh. fixed in 5.x and 6.x branches.

#2

Anonymous (not verified) - October 31, 2008 - 12:02
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.