Merge branch 'main' of ssh://code.freedombone.net:2222/bashrc/epicyon into main

main
Bob Mottram 2021-02-13 22:35:42 +00:00
commit a70e0db78c
8 changed files with 8 additions and 5 deletions

View File

@ -87,7 +87,7 @@
--quote-right-margin: 0.1em;
--quote-font-weight: normal;
--quote-font-size: 120%;
--line-spacing: 130%;
--line-spacing: 180%;
--line-spacing-newswire: 120%;
--newswire-item-moderated-color: white;
--newswire-date-moderated-color: white;

View File

@ -302,6 +302,7 @@ def _xml2StrToDict(baseDir: str, domain: str, xmlStr: str,
continue
title = rssItem.split('<title>')[1]
title = _removeCDATA(title.split('</title>')[0])
title = removeHtml(title)
description = ''
if '<description>' in rssItem and '</description>' in rssItem:
description = rssItem.split('<description>')[1]
@ -388,6 +389,7 @@ def _xml1StrToDict(baseDir: str, domain: str, xmlStr: str,
continue
title = rssItem.split('<title>')[1]
title = _removeCDATA(title.split('</title>')[0])
title = removeHtml(title)
description = ''
if '<description>' in rssItem and '</description>' in rssItem:
description = rssItem.split('<description>')[1]
@ -462,6 +464,7 @@ def _atomFeedToDict(baseDir: str, domain: str, xmlStr: str,
continue
title = atomItem.split('<title>')[1]
title = _removeCDATA(title.split('</title>')[0])
title = removeHtml(title)
description = ''
if '<summary>' in atomItem and '</summary>' in atomItem:
description = atomItem.split('<summary>')[1]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -6,7 +6,7 @@
"header-bg-color": "#efefef",
"verticals-width": "10px",
"newswire-publish-icon": "False",
"line-spacing-newswire": "150%",
"line-spacing-newswire": "180%",
"full-width-timeline-buttons": "False",
"icons-as-buttons": "True",
"rss-icon-at-top": "False",

View File

@ -60,7 +60,7 @@
"event-color": "#0481f5",
"event-background": "#00014a",
"quote-right-margin": "0",
"line-spacing": "150%",
"line-spacing": "180%",
"header-font": "'solidaric'",
"*font-family": "'solidaric'",
"*src": "url('./fonts/solidaric.woff2') format('woff2')",

View File

@ -84,7 +84,7 @@
"event-color": "#0481f5",
"event-background": "#00014a",
"quote-right-margin": "0",
"line-spacing": "150%",
"line-spacing": "180%",
"*font-family": "'Montserrat-Regular'",
"*src": "url('./fonts/Montserrat-Regular.ttf') format('truetype')",
"**font-family": "'Orbitron'",

View File

@ -80,7 +80,7 @@
"title-background": "#ccc",
"gallery-text-color": "#2d2c37",
"quote-right-margin": "0",
"line-spacing": "150%",
"line-spacing": "180%",
"header-font": "'solidaric'",
"*font-family": "'solidaric'",
"*src": "url('./fonts/solidaric.woff2') format('woff2')",