The documentation says:

http://sourceforge.net/projects/rdfapi-php/
You should have something like ./includes/rap/RdfAPI.php

Rap when unzipped looks like this:

/rdfapi-php]# ls
./ ../ api/ doc/ netapi/ rap-pubby/ .svn/ test/ tools/

and RdfAPI.php is in api. If I am to create a new directory, rap, and pull RdfAPI.php out of it, then the readme.txt should say so.

Comments

shunting’s picture

Title: Documentation confusing on location of rap » This file layout has worked for me (so far)
sites/all/modules/neologism/includes
  content_negotiation
    content_negotiation.inc.php
  rap
    constants.php  
    dataset/  
    infModel/  
    model/  
    ontModel/  
    RdfAPI.php  
    rdql/  
    resModel/  
    sparql/  
    syntax/  
    util/  
    vocabulary/
scor’s picture

Status: Active » Fixed

right, thanks for the pointer. I fixed the readme file.

shunting’s picture

The readme reads:

# RAP
Download RAP from http://sourceforge.net/projects/rdfapi-php/ and extract it in a temporary folder. Copy the content of rdfapi-php/api in the includes/rap folder of the neologism module. You should have something like neologism/includes/rap/RdfAPI.php

1. I think "something like" is confusing. Why is there doubt?

2. This isn't the same as the file layout I gave above. Is mine wrong? Is this a versioning issue between the dev version and CVS?

# PHP Content Negotiation
Download the PHP Content Negotiation library from http://ptlis.net/source/php-content-negotiation/ and extract it in the includes folder of the neologism module. You should have something like neologism/includes/content_negotiation.inc.php

1. Same issues as above with confusion and file layout.

2. I don't know if there's a coding standard on this, but it seems more clear to me to put each include into its own directory, rather than having them float loose at the top level.

And thanks for this module, I should say. It is actually fun and interesting to use. Very usable!

Status: Fixed » Closed (fixed)

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