diff --git a/smhnRSS.pl b/smhnRSS.pl index be188a0..d67671e 100644 --- a/smhnRSS.pl +++ b/smhnRSS.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -use cPanelUserConfig; #for cpanel servers +# use cPanelUserConfig; #for cpanel servers use 5.010; use strict; @@ -63,6 +63,7 @@ my %list; # Make the list of URLS while parsing DATA my $listHTML = "
\n"; +$listHTML .= "
\n"; ################################### # Make an RSS Feed! @@ -151,7 +167,7 @@ foreach my $name (reverse sort keys %list) { link => $list{$name}->{'link'}, description => $list{$name}->{'description'}, pubDate => $list{$name}->{'pubDate'}, - author => $list{$name}->{'dc'}{'creator'}, + author => $list{$name}->{'itemAuthor'}, source => $list{$name}->{'feedName'}, sourceUrl => $list{$name}->{'feedURL'}, ); # $rss->channel @@ -204,10 +220,9 @@ my $html = <<"HTML_END"; body{ margin:40px auto; max-width:650px; - line-height:1.6; - font-size:18px; - font-family: Baskerville, TimesNewRoman, Times New Roman, Times, Georgia, serif; - padding:0 10px + font: 18px/1.6 Baskerville, TimesNewRoman, Times New Roman, Times, Georgia, serif; + padding:0 10px: + word-break: break-word; } h1, h2, h3 {font-weight: 200;} hr{width:50%;} @@ -238,7 +253,7 @@ my $html = <<"HTML_END";

$title

$description

-

This site is updated every Sunday morning

+

This site is in BETA and will update daily as we test things out and add URLs. Let us know if there are sites that should be included!

updated: $printDate

@@ -304,12 +319,13 @@ close(FH); ################################### sub formatDate { + # takes a date, and converts it to a formatted string my $testDate = $_[0]; $testDate =~ s/((\+|\-)(\d\d\d\d))//; # Convert to a TIME object my $t = Time::Piece->strptime($testDate); return($t->strftime('%a, %d %b %Y %H:%M:%S')); -} +} # sub formatDate # FIN @@ -325,10 +341,10 @@ https://kelliowen.com/feed/ https://mercedesmyardley.com/feed/ https://mehitobel.com/feed/ http://antoncancre.blogspot.com/feeds/posts/default?alt=rss +https://marysangi.wordpress.com/feed/ https://www.toddkeisling.com/news?format=rss https://www.jfgonzalez.org/news?format=rss https://www.briankeene.com/news?format=rss -https://ghoulish.rip/feed/ https://www.cemeterydance.com/extras/feed/ https://www.gwendolynkiste.com/Blog/feed/ https://katherinesilvaauthor.substack.com/feed @@ -337,4 +353,15 @@ http://fiendlover.blogspot.com/feeds/posts/default http://jacobhaddon.com/feed/ http://apokrupha.com/feed/ https://ellendatlow.com/feed/ -https://paulaguran.com/ \ No newline at end of file +https://paulaguran.com/ +https://amandaheadlee.com/feed/ +https://theimbloglio.wordpress.com/feed/ +https://kennethwcain.com/feed/ +https://wellwortharead.blogspot.com/feeds/posts/default?alt=rss +http://robertfordauthor.com/feed/ +https://tinyfrights.com/feed/ +https://weightlessbooks.com/feed/ +https://www.crystallakepub.com/feed/ +https://lynnehansen.zenfolio.com/blog.rss +https://www.bevvincent.com/feed/ +http://liviallewellyn.com/feed/ \ No newline at end of file