diff --git a/smhnRSS.pl b/smhnRSS.pl index 8e9eb04..e7ef79a 100755 --- a/smhnRSS.pl +++ b/smhnRSS.pl @@ -112,8 +112,14 @@ while ( my $url = ) { $testItem->{'description'} =~ s/<(\w) class=(.*?)>/<$1>/s; # remove class statements from text $testItem->{'description'} =~ s/
//sg; #remove "figure" can use pipe to add more $testItem->{'description'} =~ s///sg; # remove IMG tags + $testItem->{'description'} =~ s///sg; #remove "span" tags (mostly blogger) + $testItem->{'description'} =~ s/<\/span>//sg; #remove "span" endtags + $testItem->{'description'} =~ s/
//sg; # remove blogger DIV tags + $testItem->{'description'} =~ s//
/sg; # remove blogger BR tags + $testItem->{'description'} =~ s/(

<\/div>)+/
/sg; # remove blogger BR + DIV tags $testItem->{'description'} =~ s/.{1200}\K.*//s; # limit length - $testItem->{'description'} =~ s/(<[^<]+)$//s; # link at end of description + $testItem->{'description'} =~ s/<\/?div.*?>//sg; # remove div tags + $testItem->{'description'} =~ s/({'description'} .= " {'link'} . "\' target=\'_blank\'>Continue Reading"; @@ -357,4 +363,5 @@ https://tinyfrights.com/feed/ https://weightlessbooks.com/feed/ https://www.crystallakepub.com/feed/ https://lynnehansen.zenfolio.com/blog.rss -https://www.bevvincent.com/feed/ \ No newline at end of file +https://www.bevvincent.com/feed/ +http://liviallewellyn.com/feed/ \ No newline at end of file