• R/O
  • SSH
  • HTTPS

speechcast: Commit


Commit MetaInfo

Revision129 (tree)
Time2013-12-24 22:03:04
Authoryoshy3

Log Message

jbbs.shitaraba.net対応

Change Summary

Incremental Difference

--- trunk/SpeechCast/SpeechCast/Properties/AssemblyInfo.cs (revision 128)
+++ trunk/SpeechCast/SpeechCast/Properties/AssemblyInfo.cs (revision 129)
@@ -10,7 +10,7 @@
1010 [assembly: AssemblyConfiguration("")]
1111 [assembly: AssemblyCompany("よっしー")]
1212 [assembly: AssemblyProduct("SpeechCast")]
13-[assembly: AssemblyCopyright("Copyright © よっしー 2008,2009")]
13+[assembly: AssemblyCopyright("Copyright © よっしー 2008,2009,2013")]
1414 [assembly: AssemblyTrademark("")]
1515 [assembly: AssemblyCulture("")]
1616
@@ -32,5 +32,5 @@
3232 // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を
3333 // 既定値にすることができます:
3434 // [assembly: AssemblyVersion("1.0.*")]
35-[assembly: AssemblyVersion("1.0.6.0")]
36-[assembly: AssemblyFileVersion("1.0.6.0")]
35+[assembly: AssemblyVersion("1.0.7.0")]
36+[assembly: AssemblyFileVersion("1.0.7.0")]
--- trunk/SpeechCast/SpeechCast/FormMain.cs (revision 128)
+++ trunk/SpeechCast/SpeechCast/FormMain.cs (revision 129)
@@ -224,7 +224,7 @@
224224 }
225225
226226
227- Regex jbbsBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://jbbs.livedoor.jp/\w+/\d+/)");
227+ Regex jbbsBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://(jbbs.livedoor.jp|jbbs.shitaraba.net)/\w+/\d+/)");
228228 Regex nichanBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://.+2ch\.net/\w+/)\s*$");
229229 Regex yyBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://yy.+\.(kg|com)/\w+/)\s*$");
230230
@@ -234,7 +234,7 @@
234234
235235 if (m.Success)
236236 {
237- baseURL = m.Groups[1].Value;
237+ baseURL = m.Groups[2].Value;
238238 Response.Style = Response.BBSStyle.jbbs;
239239 return true;
240240 }
@@ -310,7 +310,7 @@
310310 Response.Style = Response.BBSStyle.jbbs;
311311 encodingName = "EUC-JP";
312312
313- baseURL = string.Format("http://jbbs.livedoor.jp/{0}/{1}/", m.Groups[3], m.Groups[4]);
313+ baseURL = string.Format("{0}/{1}/{2}/", m.Groups[1], m.Groups[3], m.Groups[4]);
314314 }
315315 else
316316 {
--- trunk/SpeechCast/SpeechCast/Communicator.cs (revision 128)
+++ trunk/SpeechCast/SpeechCast/Communicator.cs (revision 129)
@@ -10,12 +10,12 @@
1010 {
1111 class Communicator
1212 {
13- public static Regex JBBSRegex = new System.Text.RegularExpressions.Regex(@"(http://jbbs.livedoor.jp)/bbs/read.cgi(/(\w+)/(\d+)/(\d+)/)");
13+ public static Regex JBBSRegex = new System.Text.RegularExpressions.Regex(@"(http://jbbs.livedoor.jp|http://jbbs.shitaraba.net)/bbs/read.cgi(/(\w+)/(\d+)/(\d+)/)");
1414 public static Regex YYRegex = new System.Text.RegularExpressions.Regex(@"(http://yy.+\..+)/.+/read.cgi/(\w+)/(\d+)/");
1515 public static Regex NichanRegex = new System.Text.RegularExpressions.Regex(@"(http://.+2ch\.net)/.+/read.cgi/(\w+)/(\d+)/");
1616
1717
18- public static Regex JBBSBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://jbbs.livedoor.jp)/(\w+)/(\d+)/");
18+ public static Regex JBBSBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://jbbs.livedoor.jp|http://jbbs.shitaraba.net)/(\w+)/(\d+)/");
1919 public static Regex YYBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://yy.+)/(\w+)/");
2020 public static Regex NichanBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://.+2ch\.net)/(\w+)/");
2121
Show on old repository browser