Changeset 25819

Show
Ignore:
Timestamp:
12/04/08 10:03:39 (5 weeks ago)
Author:
kiri_feather
Message:

0170リリース。HTML構造変更対応

Location:
lang/vb2005/Tween/Tween
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • lang/vb2005/Tween/Tween/My Project/AssemblyInfo.vb

    r25202 r25819  
    5555' <Assembly: AssemblyVersion("1.0.*")>  
    5656 
    57 <Assembly: AssemblyVersion("0.1.6.0")>  
    58 <Assembly: AssemblyFileVersion("0.1.6.0")>  
     57<Assembly: AssemblyVersion("0.1.7.0")>  
     58<Assembly: AssemblyFileVersion("0.1.7.0")>  
    5959 
  • lang/vb2005/Tween/Tween/Resources/ChangeLog.txt

    r25780 r25819  
    11更新履歴 
    22 
    3 ***Ver0.1.6.1(Unreleased) 
     3***Ver0.1.7.0(2008/12/04) 
    44-コマンド回避ロジックを調整 
    55-ブラウザなどから選択文字列やリンクをドラッグ&ドロップした場合に、入力欄へ入力するようにした。 
    66-バルーンを表示する際にユーザー名を表示するオプションの設定を見るようにした。 
    77-最小化で起動した場合に起動できない問題とそれに関連する不具合修正 
     8-TwitterのHTML変更対応 
    89***Ver0.1.6.0(2008/11/28) 
    910-詳細発言表示部分からの右クリック検索をローカライズ対応可能にした。その他メニュー項目の見直しを行った。 
  • lang/vb2005/Tween/Tween/Twitter.vb

    r25699 r25819  
    250250            strSepTmp = _splitPost 
    251251        End If 
     252        '''''''''''''''''''''''''''''' 
     253        strSepTmp = "<tr class=""hentry status" 
     254        ''''''''''''''''''''''''''''''' 
    252255        pos1 = retMsg.IndexOf(strSepTmp) 
    253256        If pos1 = -1 Then 
     
    313316                Try 
    314317                    'Get ID 
    315                     pos1 = 0 
    316                     pos2 = strPost.IndexOf(_statusIdTo, 0) 
    317                     lItem.Id = HttpUtility.HtmlDecode(strPost.Substring(0, pos2)) 
     318                    'pos1 = 0 
     319                    pos1 = strPost.IndexOf("id=""status_", 0) 
     320                    pos2 = strPost.IndexOf(_statusIdTo, pos1 + 11) 
     321 
     322                    lItem.Id = HttpUtility.HtmlDecode(strPost.Substring(pos1 + 11, pos2 - pos1 - 11)) 
    318323                Catch ex As Exception 
    319324                    _signed = False 
     
    671676 
    672677        '各メッセージに分割可能か? 
     678        _splitDM = "<tr class=""hentry direct_message" 
    673679        pos1 = retMsg.IndexOf(_splitDM) 
    674680        If pos1 = -1 Then 
     
    695701                'Get ID 
    696702                Try 
    697                     pos1 = 0 
    698                     pos2 = strPost.IndexOf("""", 0) 
    699                     lItem.Id = HttpUtility.HtmlDecode(strPost.Substring(0, pos2)) 
     703                    'pos1 = 0 
     704                    pos1 = strPost.IndexOf("id=""direct_message_", 0) 
     705                    pos2 = strPost.IndexOf("""", pos1 + 19) 
     706                    lItem.Id = HttpUtility.HtmlDecode(strPost.Substring(pos1 + 19, pos2 - pos1 - 19)) 
    700707                Catch ex As Exception 
    701708                    _signed = False 
     
    11671174 
    11681175    Public Sub GetWedata() 
     1176        Exit Sub 
    11691177        Dim resStatus As String = "" 
    11701178        Dim resMsg As String = ""