On 05/03/2011 16:12, Benedikt Kaempgen wrote:
> Done, see http://www.semantic-mediawiki.org/wiki/Help:Pretty_URIs
>
> Can be improved, but probably sufficient for a start.

Thanks!

Markus

>
> --
> Karlsruhe Institute of Technology (KIT)
> Institute of Applied Informatics and Formal Description Methods (AIFB)
>
> Benedikt Kämpgen
> Research Associate
>
> Kaiserstraße 12
> Building 11.40
> 76131 Karlsruhe, Germany
>
> Phone: +49 721 608-47946 (!new since 1 January 2011!)
> Fax: +49 721 608-46580 (!new since 1 January 2011!)
> Email: benedikt.kaemp...@kit.edu
> Web: http://www.kit.edu/
>
> KIT – University of the State of Baden-Wuerttemberg and
> National Research Center of the Helmholtz Association
>
>
> -----Original Message-----
> From: Markus Krötzsch [mailto:mar...@semantic-mediawiki.org]
> Sent: Friday, March 04, 2011 6:16 PM
> To: Benedikt Kaempgen
> Cc: SMW developer list
> Subject: Re: [SMW-devel] Pretty URIs
>
> On 02/03/2011 14:42, Benedikt Kaempgen wrote:
>> Hi,
>>
>> I think it would be interesting for some to have some description in the
>> manual of how to have pretty URLs in SMW:
>
> That seems very useful, yes. Logically, this would be part of the
> administrator's manual, and could be linked from the relevant options
> documented on Help:Configuration.
>
> - Markus
>
>>
>> -----------------------------------------
>> ==Pretty URIs with SMW==
>> For each page in the wiki one wants to have properly defined identifiers:
>>
>> * Resource ID with content negotiation:
> http://semanticweb.org/id/Karlsruhe
>> * HTML Version: http://semanticweb.org/wiki/Karlsruhe
>> * RDF Version: http://semanticweb.org/wiki/Special:ExportRDF/Karlsruhe
>>
>> For that, one needs to do:
>>
>> * Tell LocalSettings.php:
>>
>> // Pretty URIs
>> $wgScriptPath = "/";         # Path to the actual files.
>> $wgArticlePath = "/wiki/$1";  # Virtual path. This directory MUST be
>> different from the one used in $wgScriptPath
>> $wgUsePathInfo = true;        # Enable use of pretty URLs
>> $smwgNamespace = http://semanticweb.org/id/';
>>
>> * Define alias and rewrite rules in webserver:
>>
>> For instance, Apache:
>>
>> # Define Alias
>> Alias /web C:/webserver/htdocs/LinkedDataSMW/index.php
>>
>> # Rewrite to URIResolver of SMW
>> RewriteRule ^/id/(.*) /web/Special:URIResolver/$1 [L,P]
>>
>> * For MW specific information and alternatives, see
>> [http://www.mediawiki.org/wiki/Manual:Short_URL]
>> -------------------------------------------
>>
>> Can anyone tell me where we could put and link to such a description?
>>
>> Best,
>>
>> Benedikt
>>
>>
>> --
>> Karlsruher Institut für Technologie (KIT)
>> Institut für Angewandte Informatik und Formale Beschreibungsverfahren
> (AIFB)
>>
>> Benedikt Kämpgen
>> Wissenschaftlicher Mitarbeiter
>>
>> Kaiserstraße 12
>> Gebäude 11.40
>> 76131 Karlsruhe
>>
>> Telefon: +49 721 608-47946 (!neu seit 1.1.2011!)
>> Fax: +49 721 608-46580 (!neu seit 1.1.2011!)
>> E-Mail: benedikt.kaemp...@kit.edu
>> Web: http://www.kit.edu/
>>
>> KIT – Universität des Landes Baden-Württemberg und
>> nationales Forschungszentrum in der Helmholtz-Gemeinschaft
>>
>>
>>
>>
>>
>>
> ----------------------------------------------------------------------------
> --
>> Free Software Download: Index, Search&   Analyze Logs and other IT data in
>> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
>> generated by your applications, servers and devices whether physical,
> virtual
>> or in the cloud. Deliver compliance at lower cost and gain new business
>> insights. http://p.sf.net/sfu/splunk-dev2dev
>>
>>
>>
>> _______________________________________________
>> Semediawiki-devel mailing list
>> Semediawiki-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to