IGN:Tag release

This commit is contained in:
Kovid Goyal 2010-11-27 12:52:13 -07:00
parent 31a63fb6d2
commit 04908934e6
4 changed files with 12 additions and 12 deletions

View File

Before

Width:  |  Height:  |  Size: 1011 B

After

Width:  |  Height:  |  Size: 1011 B

View File

@ -19,11 +19,11 @@ class TheWokinghamTimes(BasicNewsRecipe):
category = 'news, UK, world'
language = 'en_GB'
publication_type = 'newsportal'
extra_css = """
extra_css = """
body{ font-family: Arial,sans-serif }
img{display: block; margin-bottom: 0.4em}
img{display: block; margin-bottom: 0.4em}
"""
conversion_options = {
'comments' : description
,'tags' : category
@ -32,10 +32,10 @@ class TheWokinghamTimes(BasicNewsRecipe):
}
keep_only_tags = [dict(name='div', attrs={'id':'article-body'})]
remove_tags = [
remove_tags = [
dict(name='div' , attrs={'class':['ad']})
,dict(name=['meta','base','iframe','embed','object'])
,dict(name='span' , attrs={'class':'caption small'})
,dict(name='span' , attrs={'class':'caption small'})
]
remove_attributes = ['width','height','lang']
@ -55,5 +55,5 @@ class TheWokinghamTimes(BasicNewsRecipe):
item.replaceWith(str)
else:
item.name = 'span'
del item['href']
return soup
del item['href']
return soup

View File

@ -219,7 +219,7 @@ class BookInfo(QWebView):
<html>
<head>
<style type="text/css">
body, td {background-color: %s; font-size: %dpx; color: %s }
body, td { font-size: %dpx; color: %s }
a { text-decoration: none; color: blue }
</style>
</head>
@ -227,7 +227,7 @@ class BookInfo(QWebView):
%%s
</body>
<html>
'''%(p, f, c)
'''%(f, c)
if self.vertical:
if comments:
rows += u'<tr><td colspan="2">%s</td></tr>'%comments

View File

@ -4,9 +4,9 @@
#
msgid ""
msgstr ""
"Project-Id-Version: calibre 0.7.30\n"
"POT-Creation-Date: 2010-11-26 10:43+MST\n"
"PO-Revision-Date: 2010-11-26 10:43+MST\n"
"Project-Id-Version: calibre 0.7.31\n"
"POT-Creation-Date: 2010-11-27 11:31+MST\n"
"PO-Revision-Date: 2010-11-27 11:31+MST\n"
"Last-Translator: Automatically generated\n"
"Language-Team: LANGUAGE\n"
"MIME-Version: 1.0\n"