Problems with SIOC module

quanton81 - June 12, 2009 - 20:59
Project:SIOC
Version:6.x-1.1
Component:User interface
Category:support request
Priority:normal
Assigned:quanton81
Status:active
Description

Hi I recently installed the sioc module. This module is an exporter for SIOC (Semantically-Interlinked Online Community) metadata. When browsing nodes or comments in forums or blogs, you will see SIOC links on the menu which will bring you to the corresponding metadata export. Now this is what is written on the help menu of sioc, but no link appear on my forums page.

Can anywone give me some help about this please??
PS: I tryed different versions of drupal including drupal 6.12 .11 .10 5.18 .17 .10 mixing them with the versions of sioc but none worked???

#1

quanton81 - June 13, 2009 - 12:33

I am developing on windows xp with Apache/2.2.10 (Win32) PHP/5.2.6 is that a problem? On the logs there are no errors! The strange thing is that the help for sioc works but no links on the form page?? Any idea??

#2

scor - June 13, 2009 - 13:55

It's not a link as such, but a link for machine to follow which is contained in the HTML code of the page:

<link rel="media" type="application/rdf+xml" title="SIOC" href="http://sioc-project.org/sioc/node/337"/>

see http://sioc-project.org/node/337 for an example, and search for the <link> tag above. The reason why it's not a usual link is that it is not intended to be read by humans (it's plain RDF/XMl data), but only by machine which can discover the link embedded in the HTML page.

#3

quanton81 - June 13, 2009 - 14:55

Ok I know this! So when I create a forum entry and guess the id node of the page is 3 for example http://mysite/node/3 I should find a link inside the html code of that page like is that right?? But even if I do this no link in my html!

#4

quanton81 - June 13, 2009 - 15:09

The strange thing is that if I go based on the example above to http://mysite/sioc/node/3 I can find the xml file with the rdf schema so the SIOC module create the xml file, but no link in my html page on that xml file.

#5

scor - June 13, 2009 - 17:13

Please re-read the comment #2, there is no link in the page, there is only this line appearing in the HTML code:

<link rel="media" type="application/rdf+xml" title="SIOC" href="http://sioc-project.org/sioc/node/337"/>

Do you see this line in the HTML code of your site?

Please also make sure you are using the latest version of the module by downloading http://ftp.drupal.org/files/projects/sioc-6.x-1.x-dev.tar.gz

#6

quanton81 - June 13, 2009 - 17:21

Sorry, I meant in the html code not in the html page. However I am using the 6.x-1.1 version. I will try the 6.x-1.x-dev.

PS: I am not an English native language so I have some problems expressing. I am sorry for this.

#7

quanton81 - June 13, 2009 - 17:25

Thanks a lot for your help!
Problem fixed with the 6.x-1.x-dev version!

#8

scor - June 13, 2009 - 18:22
Status:active» fixed

great!

#9

quanton81 - June 21, 2009 - 11:12

I have another problem. To explain I am making an example:

Let’s assume I am a machine and I am following a link on the html of a forum entry like:
http://mysite.com/sioc/forum/7
following this link I will go to a rdf file where I will find let’s say:

<sioc:Post rdf:about="http://mysite.com/node/4">
<rdfs:label>Prova forum</rdfs:label>
<rdfs:seeAlso rdf:resource="http://mysite.com/sioc/node/4"/>
</sioc:Post>

Now following http://mysite.com/sioc/node/4 I will go to another rdf file.

Now this post which is a forum entry has replies or comments.
But inside the rdf file http://mysite.com/sioc/node/4 there is no link to the rdf with the comments.
For seeing them I have to go to http://mysite.com/sioc/comment
Is there any way to get a link to the comments from the http://mysite.com/sioc/node/4
Something like <rdfs:seeAlso rdf:resource="http://mysite.com/sioc/comment/1"/> which is the link to the comment related to the forum entry. Or for browsing comments I have to go to http://mysite.com/sioc/comment and from there go to the different comments.
I am making this question to understand how SIOC works inside drupal?

#10

quanton81 - June 21, 2009 - 09:50

I am making this question because I am developing a program which is going to make a parse of these rdf files. Starting from the http://mysite.com/sioc/site then creating a tree dependency of these rdf files. But following this tree there is no link to the comments. The http://mysite.com/sioc/comment exists but is not reachable.

#11

quanton81 - June 21, 2009 - 11:31
Status:fixed» active

Any Idea??

 
 

Drupal is a registered trademark of Dries Buytaert.