• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

FreeStyleWiki


Commit MetaInfo

Revisión0d6f861fbdf3d54b5646f1ad7bcdb22876ba9892 (tree)
Tiempo2018-06-27 21:14:02
Autorkgsoft <kgsoft@user...>
Commiterkgsoft

Log Message

BugTrack-wiki/292 : rssプラグインで生成するリンクが不正になる

Cambiar Resumen

Diferencia incremental

--- a/plugin/rss/RSS.pm
+++ b/plugin/rss/RSS.pm
@@ -85,7 +85,7 @@ sub parse_rss {
8585 }
8686
8787 if($version eq "1.0"){
88- $$content =~ m#(/channel>|/language>)#gsi;
88+ $$content =~ m#(/channel>|/language>)#si;
8989 }
9090
9191 my $count=0;
@@ -98,26 +98,26 @@ sub parse_rss {
9898 my $title = "";
9999 my $date = "";
100100
101- $item =~ m#title>([^<]+)</#gsi;
101+ $item =~ m#title>([^<]+)</#si;
102102 $title = $1;
103103
104- $item =~ m#link>([^<]+)</#gsi;
104+ $item =~ m#link>([^<]+)</#si;
105105 $link = $1;
106106 $link =~ s/\s".*//g; # ¥À¥Ö¥ë¥¯¥©¡¼¥Æ¡¼¥·¥ç¥ó°Ê¹ß¤òÀÚ¤êÍî¤È¤¹
107107
108108 if ($version eq "2.0") {
109- if ($item =~ m#pubDate>([^<]+)</#gsi) {
109+ if ($item =~ m#pubDate>([^<]+)</#si) {
110110 $date = $1;
111111 }
112112 }
113113 if ($version eq "1.0") {
114- #if ($item =~ m#(description|dc\:date)>([^<]+)</#gs) {
115- if ($item =~ m#dc\:date>([^<]+)</#gsi) {
114+ #if ($item =~ m#(description|dc\:date)>([^<]+)</#si) {
115+ if ($item =~ m#dc\:date>([^<]+)</#si) {
116116 $date = $1;
117117 }
118118 }
119119 if ($version eq "0.91") {
120- if($item =~ m#description>([^<]+)</#gsi){
120+ if($item =~ m#description>([^<]+)</#si){
121121 $date = $1;
122122 }
123123 }