clean code
git-svn-id: http://yolanda.mister-muffin.de/svn@27 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
f7f24dd5bf
commit
d906ad3f31
1 changed files with 16 additions and 8 deletions
|
@ -30,14 +30,22 @@ if($query->param('query')) {
|
||||||
while (my ($title, $caption) = $sth->fetchrow_array())
|
while (my ($title, $caption) = $sth->fetchrow_array())
|
||||||
{
|
{
|
||||||
#really obfuscated array/hash creation
|
#really obfuscated array/hash creation
|
||||||
push @{ $page->{'results'}->{'result'} }, { 'thumbnail' => ['./video-stills/225x150/4chan_city_mashup.png'],
|
push @{ $page->{'results'}->{'result'} },
|
||||||
'rdf:RDF' => { 'cc:Work' => { 'rdf:about' => './videos/1050x700/4chan_city_mashup.ogg',
|
{
|
||||||
'dc:title' => [$title]
|
'thumbnail' => ['./video-stills/225x150/4chan_city_mashup.png'],
|
||||||
},
|
'rdf:RDF' =>
|
||||||
'cc:License' => { 'rdf:about' => 'http://creativecommons.org/licenses/GPL/2.0/'
|
{
|
||||||
}
|
'cc:Work' =>
|
||||||
}
|
{
|
||||||
};
|
'rdf:about' => './videos/1050x700/4chan_city_mashup.ogg',
|
||||||
|
'dc:title' => [$title]
|
||||||
|
},
|
||||||
|
'cc:License' =>
|
||||||
|
{
|
||||||
|
'rdf:about' => 'http://creativecommons.org/licenses/GPL/2.0/'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#finish query
|
#finish query
|
||||||
|
|
Loading…
Reference in a new issue