Skip to content
Snippets Groups Projects
Commit aa383139 authored by Timothy Lebo's avatar Timothy Lebo
Browse files

Merge branch 'master' of github.com:alangrafu/lodspeakr

parents da440809 b1148e75
No related branches found
No related tags found
No related merge requests found
lodspeakr - Linked Open Data Simple Publishing Kit lodspeakr - Linked Open Data Simple Publishing Kit
author: Alvaro Graves (alvaro@graves.cl) author: Alvaro Graves (alvaro@graves.cl)
version: 20120316 version: 20120318
Simplest Installation Simplest Installation
--------------------- ---------------------
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" {% for i, ns in base.ns %}xmlns:{{i}}="{{ns}}" <html xmlns="http://www.w3.org/1999/xhtml" {% for i, ns in lodspk.ns %}xmlns:{{i}}="{{ns}}"
{%endfor%}version="XHTML+RDFa 1.0" xml:lang="en"> {%endfor%}version="XHTML+RDFa 1.0" xml:lang="en">
<head> <head>
<title>TWC People directory</title> <title>TWC People directory</title>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" {% for i, ns in base.ns %}xmlns:{{i}}="{{ns}}" <html xmlns="http://www.w3.org/1999/xhtml" {% for i, ns in lodspk.ns %}xmlns:{{i}}="{{ns}}"
{%endfor%}version="XHTML+RDFa 1.0" xml:lang="en"> {%endfor%}version="XHTML+RDFa 1.0" xml:lang="en">
<head> <head>
<title>TWC People directory</title> <title>TWC People directory</title>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" {% for i, ns in base.ns %}xmlns:{{i}}="{{ns}}" <html xmlns="http://www.w3.org/1999/xhtml" {% for i, ns in lodspk.ns %}xmlns:{{i}}="{{ns}}"
{%endfor%}version="XHTML+RDFa 1.0" xml:lang="en"> {%endfor%}version="XHTML+RDFa 1.0" xml:lang="en">
<head> <head>
<title>Instances of {{lodspk.args.arg0}}</title> <title>Instances of {{lodspk.args.arg0}}</title>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" {% for i, ns in base.ns %}xmlns:{{i}}="{{ns}}" <html xmlns="http://www.w3.org/1999/xhtml" {% for i, ns in lodspk.ns %}xmlns:{{i}}="{{ns}}"
{%endfor%}version="XHTML+RDFa 1.0" xml:lang="en"> {%endfor%}version="XHTML+RDFa 1.0" xml:lang="en">
<head> <head>
<title>Named Graphs</title> <title>Named Graphs</title>
......
<?php
class Haanga_Extension_Filter_Explode
{
static function generator($compiler, $args)
{
if (count($args) != 2) {
$compiler->Error("Explode only needs two parameter");
}
return hexec('explode', $args[1], $args[0]);
}
}
<?php
class Haanga_Extension_Filter_Pop
{
static function generator($compiler, $args)
{
if (count($args) != 1) {
$compiler->Error("Pop only needs two parameter");
}
return hexec('array_pop', $args[0]);
}
}
<?php
class Haanga_Extension_Filter_Uripath
{
static function generator($cmp, $args)
{
return hexec('parse_url', $args[0], hconst('PHP_URL_PATH'));
}
}
<?php
class Haanga_Extension_Filter_Urischeme
{
static function generator($cmp, $args)
{
return hexec('parse_url', $args[0], hconst('PHP_URL_SCHEME'));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment