clean code

git-svn-id: http://yolanda.mister-muffin.de/svn@27 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2007-10-11 16:29:13 +00:00
parent f7f24dd5bf
commit d906ad3f31

View file

@ -30,11 +30,19 @@ if($query->param('query')) {
while (my ($title, $caption) = $sth->fetchrow_array())
{
#really obfuscated array/hash creation
push @{ $page->{'results'}->{'result'} }, { 'thumbnail' => ['./video-stills/225x150/4chan_city_mashup.png'],
'rdf:RDF' => { 'cc:Work' => { 'rdf:about' => './videos/1050x700/4chan_city_mashup.ogg',
push @{ $page->{'results'}->{'result'} },
{
'thumbnail' => ['./video-stills/225x150/4chan_city_mashup.png'],
'rdf:RDF' =>
{
'cc:Work' =>
{
'rdf:about' => './videos/1050x700/4chan_city_mashup.ogg',
'dc:title' => [$title]
},
'cc:License' => { 'rdf:about' => 'http://creativecommons.org/licenses/GPL/2.0/'
'cc:License' =>
{
'rdf:about' => 'http://creativecommons.org/licenses/GPL/2.0/'
}
}
};