git://git.camperquake.de
/
quotesite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the first occurance of <div class="qoute">, the second one is used for ads
[quotesite.git]
/
quotesite
/
GermanBashGrabber.pm
diff --git
a/quotesite/GermanBashGrabber.pm
b/quotesite/GermanBashGrabber.pm
index
8b52db9
..
919f015
100644
(file)
--- a/
quotesite/GermanBashGrabber.pm
+++ b/
quotesite/GermanBashGrabber.pm
@@
-58,6
+58,7
@@
sub _parse {
if (exists($t->[1]->{'class'}) && ($t->[1]->{'class'} eq 'zitat')) {
$metadata->{'CONTENT'} = $p->get_text('/div');
$metadata->{'CONTENT'} =~ s/^\s*//mg;
+ last;
}
}