added thumbnails
git-svn-id: http://yolanda.mister-muffin.de/svn@93 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
c145448617
commit
8f69d20210
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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' =>
|
||||
|
|
Loading…
Reference in a new issue