SF.net SVN: phpwiki:[11125] trunk/lib/SemanticWeb.p hp

carstenklapp--- via phpwiki-checkins <[email protected]> Tue, 18 Feb 2025 03:56:57 +0000
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 11125
          http://sourceforge.net/p/phpwiki/code/11125
Author:   carstenklapp
Date:     2025-02-18 03:56:57 +0000 (Tue, 18 Feb 2025)
Log Message:
-----------
plugin no longer crashes the wiki. (The plugin doesn't seem to be finished yet).

Modified Paths:
--------------
    trunk/lib/SemanticWeb.php

Modified: trunk/lib/SemanticWeb.php
===================================================================
--- trunk/lib/SemanticWeb.php	2025-02-18 03:52:31 UTC (rev 11124)
+++ trunk/lib/SemanticWeb.php	2025-02-18 03:56:57 UTC (rev 11125)
@@ -121,11 +121,11 @@
     {
         $this->_request =& $request;
         $this->_pagelist =& $pagelist;
-        $this->XmlElement(
-            'rdf:RDF',
-            array('xmlns' => "http://purl.org/rss/1.0/",
-                'xmlns:rdf' => 'http://www.w3.org/1999/02/22-rdf-syntax-ns#')
-        );
+        // $this->XmlElement(
+        //     'rdf:RDF',
+        //     array('xmlns' => "http://purl.org/rss/1.0/",
+        //         'xmlns:rdf' => 'http://www.w3.org/1999/02/22-rdf-syntax-ns#')
+        // );
 
         $this->_modules = array(
             //Standards
@@ -191,6 +191,9 @@
            relations
            attributes
         */
+        // This plugin doesn't seem to be finished. Carsten
+        echo "<pre>DEBUG:\n";
+        print_r($this->_pagelist);
         foreach ($this->_pagelist->_pages as $page) {
             $relation = new TextSearchQuery("*");
             foreach (array('linkto', 'linkfrom', 'relation', 'attribute') as $linktype) {

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.