/[drupal]/contributions/modules/sioc/sioc.module
ViewVC logotype

Diff of /contributions/modules/sioc/sioc.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.32.2.3.2.14, Fri Oct 17 12:12:30 2008 UTC revision 1.32.2.3.2.15, Fri Oct 17 12:16:23 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: sioc.module,v 1.32.2.3.2.13 2008/10/17 11:58:51 scor Exp $  // $Id: sioc.module,v 1.32.2.3.2.14 2008/10/17 12:12:30 scor Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 701  function sioc_autodiscovery() { Line 701  function sioc_autodiscovery() {
701    else if (arg(0)=='comment' && is_numeric($id=arg(2))) $type = "node/$id";    else if (arg(0)=='comment' && is_numeric($id=arg(2))) $type = "node/$id";
702    else if (arg(0)=='user' && $id=arg(1)) $type = "user/$id";    else if (arg(0)=='user' && $id=arg(1)) $type = "user/$id";
703    else if (arg(0)=='blog' && $id=arg(1)) $type = "blog/$id";    else if (arg(0)=='blog' && $id=arg(1)) $type = "blog/$id";
704      else if (arg(0)=='forum' && $id=arg(1)) $type = "forum/$id";
705    else $type = 'site';    else $type = 'site';
706    drupal_set_html_head('<link rel="media" type="application/rdf+xml" title="SIOC" href="' . url("sioc/$type", array('absolute' => TRUE)) . '"/>');    drupal_set_html_head('<link rel="media" type="application/rdf+xml" title="SIOC" href="' . url("sioc/$type", array('absolute' => TRUE)) . '"/>');
707  }  }

Legend:
Removed from v.1.32.2.3.2.14  
changed lines
  Added in v.1.32.2.3.2.15

  ViewVC Help
Powered by ViewVC 1.1.2