- Timestamp:
- 09/22/08 21:21:18 (2 months ago)
- Files:
-
- 1 modified
-
lang/ruby/robot-twitter/trunk/robot-twitter.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/robot-twitter/trunk/robot-twitter.rb
r19714 r19735 39 39 40 40 # リンクは ... で省略されるので url に置き換える 41 content = content.gsub(%r{<a\s+href="([^"]* )"\s+rel="[^"]*"[^>]*>.*</a>}m, '\1')41 content = content.gsub(%r{<a\s+href="([^"]*?)"\s+rel="[^"]*?"[^>]*?>.*?</a>}m, '\1') 42 42 43 43 # @username のリンクを外す 44 content = content.gsub(%r{<a\s+href="[^"]* "[^>]*>(.*)</a>}m, '\1')44 content = content.gsub(%r{<a\s+href="[^"]*?"[^>]*?>(.*?)</a>}m, '\1') 45 45 46 46 meta = entry.search('a[@class="entry-date"]').first
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)