Default to content type HTML;
Correct name to XHTML; Improve CSS.
This commit is contained in:
parent
694c8bb489
commit
eb280b5aab
4 changed files with 7 additions and 5 deletions
|
@ -9,8 +9,7 @@ body {
|
||||||
|
|
||||||
code, pre {
|
code, pre {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
display: inline-block;
|
max-height: 100%;
|
||||||
max-height: 500px;
|
|
||||||
max-width: 100%; }
|
max-width: 100%; }
|
||||||
|
|
||||||
img, video {
|
img, video {
|
||||||
|
@ -23,6 +22,8 @@ img, video {
|
||||||
/* margin-left: 2%; */
|
/* margin-left: 2%; */
|
||||||
/* margin-top: 2%; */
|
/* margin-top: 2%; */
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
padding-top: 100px;
|
||||||
|
padding-bottom: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1#title, h2#subtitle, #actions, #references {
|
h1#title, h2#subtitle, #actions, #references {
|
||||||
|
@ -77,6 +78,7 @@ h1#title, h2#subtitle, #actions, #references {
|
||||||
#articles #journal {
|
#articles #journal {
|
||||||
margin-left: 2%;
|
margin-left: 2%;
|
||||||
margin-right: 2%;
|
margin-right: 2%;
|
||||||
|
margin-top: 2%;
|
||||||
min-width: 350px;
|
min-width: 350px;
|
||||||
padding-bottom: 0.67em;
|
padding-bottom: 0.67em;
|
||||||
width: 20%;
|
width: 20%;
|
||||||
|
|
|
@ -298,7 +298,7 @@ def generate_atom(iq, link):
|
||||||
content_type = content.attrib['type'] if 'type' in content.attrib else 'text'
|
content_type = content.attrib['type'] if 'type' in content.attrib else 'text'
|
||||||
content_type_text = 'html' if 'html' in content_type else 'text'
|
content_type_text = 'html' if 'html' in content_type else 'text'
|
||||||
else:
|
else:
|
||||||
content_type_text = 'text'
|
content_type_text = 'html'
|
||||||
published = item_payload.find(namespace + 'published')
|
published = item_payload.find(namespace + 'published')
|
||||||
published_text = None if published == None else published.text
|
published_text = None if published == None else published.text
|
||||||
updated = item_payload.find(namespace + 'updated')
|
updated = item_payload.find(namespace + 'updated')
|
||||||
|
|
|
@ -433,7 +433,7 @@ xmlns:atom='http://www.w3.org/2005/Atom'>
|
||||||
<!-- note -->
|
<!-- note -->
|
||||||
<p id='note'>
|
<p id='note'>
|
||||||
<i>
|
<i>
|
||||||
This is an XMPP news feed which is conveyed as an HTML
|
This is an XMPP news feed which is conveyed as an XHTML
|
||||||
document, and it can even be viewed by a syndication
|
document, and it can even be viewed by a syndication
|
||||||
feed reader which provides automated notifications on
|
feed reader which provides automated notifications on
|
||||||
desktop and mobile. <span id="selection-link">Click
|
desktop and mobile. <span id="selection-link">Click
|
||||||
|
|
|
@ -211,7 +211,7 @@ xmlns:xml='http://www.w3.org/XML/1998/namespace'>
|
||||||
<i>
|
<i>
|
||||||
This is an
|
This is an
|
||||||
<b title ='Outline Processor Markup Language'>OPML</b>
|
<b title ='Outline Processor Markup Language'>OPML</b>
|
||||||
document which is conveyed as an HTML document; This
|
document which is conveyed as an XHTML document; This
|
||||||
document includes a list of subscriptionsis and is
|
document includes a list of subscriptionsis and is
|
||||||
intended to be imported to a syndication feed reader
|
intended to be imported to a syndication feed reader
|
||||||
which provides automated notifications on desktop and
|
which provides automated notifications on desktop and
|
||||||
|
|
Loading…
Reference in a new issue