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

@ -26,7 +26,7 @@ $dbh->do(qq{create table
$dbh->do(qq{insert into
tagcloud values
(
'web tv', 68
'web tv', 68
)
}) or die $dbh->errstr;

View file

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