added thumbnails

git-svn-id: http://yolanda.mister-muffin.de/svn@93 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
josch 2007-10-19 16:59:19 +00:00
parent c145448617
commit 8f69d20210
2 changed files with 4 additions and 4 deletions

View file

@ -36,7 +36,7 @@ if($query->param('query'))
#before code cleanup, this was a really obfuscated array/hash creation #before code cleanup, this was a really obfuscated array/hash creation
push @{ $page->{'results'}->{'result'} }, push @{ $page->{'results'}->{'result'} },
{ {
'thumbnail' => ['./video-stills/225x150/4chan_city_mashup.png'], 'thumbnail' => ["./video-stills/$id"],
'rdf:RDF' => 'rdf:RDF' =>
{ {
'cc:Work' => 'cc:Work' =>
@ -66,7 +66,7 @@ if($query->param('query'))
#print xml #print xml
print XMLout($page, KeyAttr => {}, XMLDecl => $XMLDecl, RootName => 'page'); print XMLout($page, KeyAttr => {}, XMLDecl => $XMLDecl, RootName => 'page');
} }
if($query->param('sort')) elsif($query->param('sort'))
{ {
%page = (); %page = ();
@ -95,7 +95,7 @@ if($query->param('sort'))
#before code cleanup, this was a really obfuscated array/hash creation #before code cleanup, this was a really obfuscated array/hash creation
push @{ $page->{'results'}->{'result'} }, push @{ $page->{'results'}->{'result'} },
{ {
'thumbnail' => ['./video-stills/225x150/4chan_city_mashup.png'], 'thumbnail' => ["./video-stills/$id"],
'rdf:RDF' => 'rdf:RDF' =>
{ {
'cc:Work' => 'cc:Work' =>