Taking advantage of the Semantic Web features of Drupal

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
brucewhealtonjr's picture

Hello,
I was noticing that two of the distributions that interest me and deal with the Semantic Web, RDF and Open Calais, do not seem to run on a shared server environment. Is that right? I don't think my hosting provider meets the requirements. I'm moving to drupal because of several reasons. One reason that did not even occur to me until I had already decided to move to drupal was the lack of support in my other cms for these features. Can someone recommend what I might want to install on a drupal site to take advantage of many of these features, if I cannot install the full distribution?
I have a need for what OpenPublish has for an online site that is a publication site, an online magazine, and a community site.
My other site is more technical and will want to integrate Semantic web features, rdf, and Open Calais (sp?). Actually, both sites could benefit from the rdf features.
Thanks,
Bruce

Comments

Regular "commodity" shared

misterstephen's picture

Regular "commodity" shared hosting like GoDaddy or Dreamhost completely rock at serving static pages that don't have uptime requirements. They aren't going to do so well pushing an OpenPublish site though. The specs for OpenPublish suggest 220MB of RAM -> http://openpublishapp.com/requirements/, and I wouldn't run it with a drop less than that. I put ours on 256MB VPSs for development and everything runs just fine.

Of course you could take a peek at Drupal 7, as the RDF is in the core. I haven't played with it yet, but it sounds like it might be worth looking into.

Actually, OP runs well on a

ithacaindy's picture

Actually, OP runs well on a shared host, with minor modifications. (Our OP-based news site uses a shared host.)

I found the following instructions on drupal.org very helpful - and it requires only a couple simple edits.

First, up your cache (in your .htaccess file) to the max size. Then add the following to the .htaccess file (verbatim, without "=" marks)

php_value max_execution_time 600
php_value max_input_time 600
php_value realpath_cache_size 2M

In includes/database.mysql.inc:

//FORCE UTF-8.
mysql_query('SET NAMES "utf"', $connection);
mysql_query('SET SESSION wait_timeout = 60', $connection);
return $connection;

In includes/database.mysqli.inc:

//Force UTF-8.
mysqli_query($connection, 'SET NAMES "utf8"');
mysqli_query($connection, 'SET SESSION wait_timeout = 60');
return $connection;

My shared host provider has Upper memory limit of 64M

brucewhealtonjr's picture

Can I change this in htaccess? Probably not. Will your changes get around that? Is this the requirements during regular use of the site or mainly a set of requirements for installation? If so, what is installed that needs so much more memory?
Bruce

Let's get serious here. If it

misterstephen's picture

Let's get serious here. If it takes you three hours to walk to school, the only way you are going to get there noticeably faster is by choosing a different mode of transportation or by taking a different route. Allowing yourself more time isn't going to make your walk shorter.

If you want to cut down on load times and don't have the cash or experience for a VPS, find out what part of your site is slowing things down and remove it. If you want to see performance, cultivate a fondness for CSS and ruthlessly begin killing off those unoptimized images and all that buggy JavaScript.

Semantic Web

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week