This forum is for less technical discussions about the Drupal project, not for support questions.

FOAF module for Drupal?

Someone mentioned in Orkut a "(not much publicized) foaf.module". I asked there for this module but got no answer. Searching "FOAF" in drupal.org gives no results, although there is a project started called Profile.module -> Leveraging profile info. for social networking capabilities.

How to change the urls

how could I change this: http://www.mysite.com/node/view/11
to this"http://www.mysite.com/articles/view/11
Instead of "node", i want to use "articles"
and how could I change this:http://www.mysite.com/taxonomy/view/or/1/
to this:http://www.mysite.com/w-parts/view/or/1/

Subscriptions to selected forums?

Is there a problem with the hosting service which makes it problematic for the drupal site to activate subscriptions/notification for forums?

Subscriptions is available in some project areas but not having it available for registered users on the forums is a real time-stealer.

-GZ

Google API Block Example

Recently I went looking for a snippet of PHP that provided access to Google's Web Services API, so that I could have a block on my blog which automatically generated google search results based on the page title (or whatever).

I found one, but it didn't work. I fixed it and set it up as a Drupal block; here it is:

// requires PEAR SOAP client
include("SOAP/Client.php");

// Adjust query to suit your purposes.
$sql = "SELECT title FROM node
        WHERE type='blog' AND promote=1 AND status=1
        ORDER BY created desc limit 1";
$obj = db_fetch_object(db_query($sql));

// first, try and use page title
// note that when reading a blog or story node, the page
// title is the node title.. so
$qstr = drupal_get_title();

// if blank, skip the block
if ($qstr == '')
  return;  // or apply a default $qstr = 'something';


$output = "Google results for '".$subj."':

"; // Adjust the query prior to SOAP call... $qstr = $qstr . ' -mydomainname'; // recommend excluding your domain name $key = 'googleapikey'; $s = new SOAP_Client('http://api.google.com/GoogleSearch.wsdl'); // Adjust further parameters here (see google for docs) $parameters = array( 'key' => $key, 'q' => $qstr, 'start' => 0, 'maxResults' => 10, 'filter' => false, 'restrict' => '', 'safeSearch' => false, 'lr' => '', 'ie' => '', 'oe' => '');

The learning curve / programming effort required

Hi,

The following tries to do two things at once:

  • Find out how "good" Drupal is
  • Adjust my expectations before I dig too deeply into any OSS CMS

(And advance apologies for the length)

So here we go:

A group of friends has decided that they want "a website" - the basic idea is to support the social network with an online medium.

Some poor sod (aka "me") has been tasked to make it happen - so that poor sod draws up some rough specs.

external links and extensible

Hi ,
I am new to this drupal.I have a couple of questions about drupal.I am not even sure if this the correct group or not to post this type of questions .Please direct me to correct forum if this is not the right one.
My questions are
1) Is drupal extensible?.I mean can i add modules to it ?
2) Can I provide links to external sites from my web portal that is designed using
drupal?

Thanks

Pages

Subscribe with RSS Subscribe to RSS - General discussion