values of URLs have %20 in them.
I would like to retrieve the raw value of a URL and display it as plain text
(and not as a hyperlink).
- Laurent
From: "CNIT"
Sent: Thursday, July 23, 2009 8:14 PM
To: "Jie Bao"
Subject: Re: [SMW-devel
Jie Bao пишет:
> Thanks Anja. I have a slightly different coding based yours that works:
>
> // return an array of arraies of predicate-value pairs of the page
> function getTriple($title)
> {
>
> $page = SMWDataValueFactory::newTypeIDValue( '_wpg',
> $title->getFullText());
> $semdata = smwfGetSt
t;$propvalue = array();
>$propvalue =
$data->getPropertyValues($property);
>$propvaluetext =
$propvalue[0]->getLongHTMLText();
>$proparray[$propnametext] = $propvaluetext;
> }
>
$proparray[$propnametext] = $propvaluetext;
}
}
return $proparray;
}
>-Ursprüngliche Nachricht-
>Von: Jie Bao [mailto:bao...@cs.rpi.edu]
>Gesendet: Mittwoch, 8. Juli 2009 04:33
>An: semediawiki-devel; Semantic MediaWiki users
>Betreff: