Changeset 2689

Show
Ignore:
Timestamp:
07/03/08 00:39:05 (20 months ago)
Author:
bchoate
Message:

Fixed some tag test expected results.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/t/35-tags.dat

    r2578 r2689  
    11[ 
    22{ "r" : "1", "t" : "", "e" : ""}, #1 
    3 { "r" : "1", "t" : "<MTCGIPath>", "e" : "http://localhost/cgi-bin/"}, #2 
     3{ "r" : "1", "t" : "<MTCGIPath>", "e" : "http://narnia.na/cgi-bin/"}, #2 
    44{ "r" : "1", "t" : "<MTCGIRelativeURL>", "e" : "/cgi-bin/"}, #3 
    5 { "r" : "1", "t" : "<MTStaticWebPath>", "e" : "http://localhost/mt-static/"}, #4 
     5{ "r" : "1", "t" : "<MTStaticWebPath>", "e" : "http://narnia.na/cgi-bin/mt-static/"}, #4 
    66{ "r" : "1", "t" : "<MTCommentScript>", "e" : "mt-comments.cgi"}, #5 
    77{ "r" : "1", "t" : "<MTTrackbackScript>", "e" : "mt-tb.cgi"}, #6 
     
    1717{ "r" : "1", "t" : "", "e" : ""}, #16 
    1818{ "r" : "1", "t" : "<MTIfNonZero tag=\"MTBlogEntryCount\">nonzero</MTIfNonZero>", "e" : "nonzero"}, #17 
    19 { "r" : "1", "t" : "<MTCommenterNameThunk>", "e" : "<script type='text/javascript' src='http://localhost/cgi-bin/mt-comments.cgi?__mode=cmtr_name_js'></script>"}, #18 
     19{ "r" : "1", "t" : "<MTCommenterNameThunk>", "e" : "<script type='text/javascript'>var commenter_name = getCookie('commenter_name')</script>"}, #18 
    2020{ "r" : "0", "t" : "<MTCommenterName>", "e" : ""}, #19 TBD 
    2121{ "r" : "0", "t" : "<MTCommenterEmail>", "e" : ""}, #20 TBD 
     
    9999{ "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTEntryAuthorLink></MTEntries>", "e" : "<a href=\"http://chuckd.com/\">Chucky Dee</a>"}, #66 
    100100{ "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTEntryID></MTEntries>", "e" : "1"}, #67 
    101 { "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTEntryTrackbackLink></MTEntries>", "e" : "http://localhost/cgi-bin/mt-tb.cgi/1"}, #68 
     101{ "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTEntryTrackbackLink></MTEntries>", "e" : "http://narnia.na/cgi-bin/mt-tb.cgi/1"}, #68 
    102102{ "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTEntryTrackbackData></MTEntries>", "e" : "<!-- 
    103103<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" 
     
    106106<rdf:Description 
    107107    rdf:about=\"http://narnia.na/nana/archives/1978/01/a-rainy-day.html\" 
    108     trackback:ping=\"http://localhost/cgi-bin/mt-tb.cgi/1\" 
     108    trackback:ping=\"http://narnia.na/cgi-bin/mt-tb.cgi/1\" 
    109109    dc:title=\"A Rainy Day\" 
    110110    dc:identifier=\"http://narnia.na/nana/archives/1978/01/a-rainy-day.html\" 
     
    121121{ "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTEntryCategories><MTCategoryLabel></MTEntryCategories></MTEntries>", "e" : ""}, #73 
    122122{ "r" : "0", "t" : "<MTTypeKeyToken>", "e" : "token"}, #74 TBD 
    123 { "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTRemoteSignInLink></MTEntries>", "e" : "https://www.typekey.com/t/typekey/login?&amp;lang=en_US&amp;t=token&amp;v=1.1&amp;_return=http://localhost/cgi-bin/mt-comments.cgi%3f__mode=handle_sign_in%26key=TypeKey%26static=0%26entry_id=1"}, #75 
    124 { "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTRemoteSignOutLink></MTEntries>", "e" : "http://localhost/cgi-bin/mt-comments.cgi?__mode=handle_sign_in&amp;static=0&amp;logout=1&amp;entry_id=1"}, #76 
     123{ "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTRemoteSignInLink></MTEntries>", "e" : "https://www.typekey.com/t/typekey/login?&amp;lang=en_US&amp;t=token&amp;v=1.1&amp;_return=http://narnia.na/cgi-bin/mt-comments.cgi%3f__mode=handle_sign_in%26key=TypeKey%26static=0%26entry_id=1"}, #75 
     124{ "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTRemoteSignOutLink></MTEntries>", "e" : "http://narnia.na/cgi-bin/mt-comments.cgi?__mode=handle_sign_in&amp;static=0&amp;logout=1&amp;entry_id=1"}, #76 
    125125{ "r" : "0", "t" : "<MTEntries lastn=\"1\"></MTEntries>", "e" : ""}, #77 TBD -- CommentFields 
    126126{ "r" : "1", "t" : "<MTComments lastn=\"1\"><MTCommentAuthor></MTComments>", "e" : "John Doe"}, #78 
     
    165165{ "r" : "1", "t" : "<MTComments lastn=\"3\"><MTCommentAuthorLink>,</MTComments>", "e" : "John Doe,Comment 3,<a title=\"http://chuckd.com/\" href=\"http://chuckd.com/\">Chucky Dee</a>,"}, #114 
    166166{ "r" : "1", "t" : "<MTComments lastn=\"1\"><MTCommentEmail></MTComments>", "e" : "johnd@doe.com"}, #115 
    167 { "r" : "1", "t" : "<MTComments lastn=\"1\"><MTCommentAuthorIdentity></MTComments>", "e" : "<img alt=\"Author Profile Page\" src=\"http://localhost/mt-static/images/comment/typekey_logo.png\" width=\"16\" height=\"16\" />"}, #116 
     167{ "r" : "1", "t" : "<MTComments lastn=\"1\"><MTCommentAuthorIdentity></MTComments>", "e" : "<img alt=\"Author Profile Page\" src=\"http://narnia.na/cgi-bin/mt-static/images/comment/typekey_logo.png\" width=\"16\" height=\"16\" />"}, #116 
    168168{ "r" : "1", "t" : "<MTComments lastn=\"1\"><MTCommentURL></MTComments>", "e" : "http://john.doe.com/"}, #117 
    169169{ "r" : "1", "t" : "<MTComments lastn=\"1\"><MTCommentOrderNumber></MTComments>", "e" : "1"}, #118 
     
    178178{ "r" : "1", "t" : "<MTCategories><MTCategoryLabel>: <MTCategoryCount>; </MTCategories>", "e" : "foo: 1; subfoo: 1; "}, #127 
    179179{ "r" : "1", "t" : "<MTCategories><MTCategoryArchiveLink>; </MTCategories>", "e" : "http://narnia.na/nana/archives/foo/; http://narnia.na/nana/archives/foo/subfoo/; "}, #128 
    180 { "r" : "1", "t" : "<MTCategories show_empty=\"1\"><MTCategoryLabel>: <MTCategoryTrackbackLink> </MTCategories>", "e" : "bar: http://localhost/cgi-bin/mt-tb.cgi/2 foo:  subfoo:  "}, #129 
     180{ "r" : "1", "t" : "<MTCategories show_empty=\"1\"><MTCategoryLabel>: <MTCategoryTrackbackLink> </MTCategories>", "e" : "bar: http://narnia.na/cgi-bin/mt-tb.cgi/2 foo:  subfoo:  "}, #129 
    181181{ "r" : "1", "t" : "<MTSubCategories show_empty=\"1\" top=\"1\"><MTCategoryLabel></MTSubCategories>", "e" : "barfoo"}, #130 
    182182{ "r" : "1", "t" : "<MTSubCategories show_empty=\"1\" top=\"1\"><MTSubCatIsFirst>First: <MTCategoryLabel></MTSubCatIsFirst></MTSubCategories>", "e" : "First: bar"}, #131 
     
    232232{ "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTEntryIfTagged>has tags</MTEntryIfTagged></MTEntries>", "e" : "has tags"}, #180 
    233233{ "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTEntryIfTagged tag=\"grandpa\">tagged</MTEntryIfTagged></MTEntries>", "e" : "tagged"}, #181 
    234 { "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTEntryTags glue=\" \"><MTTagSearchLink></MTEntryTags></MTEntries>", "e" : "http://localhost/cgi-bin/mt-search.cgi?blog_id=1&amp;tag=grandpa&amp;limit=20 http://localhost/cgi-bin/mt-search.cgi?blog_id=1&amp;tag=rain&amp;limit=20 http://localhost/cgi-bin/mt-search.cgi?blog_id=1&amp;tag=strolling&amp;limit=20"}, #182 
     234{ "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTEntryTags glue=\" \"><MTTagSearchLink></MTEntryTags></MTEntries>", "e" : "http://narnia.na/cgi-bin/mt-search.cgi?blog_id=1&amp;tag=grandpa&amp;limit=20 http://narnia.na/cgi-bin/mt-search.cgi?blog_id=1&amp;tag=rain&amp;limit=20 http://narnia.na/cgi-bin/mt-search.cgi?blog_id=1&amp;tag=strolling&amp;limit=20"}, #182 
    235235{ "r" : "1", "t" : "<MTTags glue=':'><MTTagCount></MTTags>", "e" : "2:1:4:1:5"}, #183 
    236236{ "r" : "1", "t" : "<MTIfTypeKeyToken>tokened</MTIfTypeKeyToken>", "e" : "tokened"}, #184 
     
    239239{ "r" : "1", "t" : "<MTIfArchiveTypeEnabled type=\"Category\">enabled</MTIfArchiveTypeEnabled>", "e" : "enabled"}, #187 
    240240{ "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTFileTemplate format=\"%y/%m/%d/%b\"></MTEntries>", "e" : "1978/01/31/a_rainy_day"}, #188 
    241 { "r" : "1", "t" : "<MTAdminCGIPath>", "e" : "http://localhost/cgi-bin/"}, #189 
     241{ "r" : "1", "t" : "<MTAdminCGIPath>", "e" : "http://narnia.na/cgi-bin/"}, #189 
    242242{ "r" : "1", "t" : "<MTConfigFile>", "e" : "CFG_FILE"}, #190 
    243243{ "r" : "1", "t" : "<MTAdminScript>", "e" : "mt.cgi"}, #191 
    244244{ "r" : "1", "t" : "<MTAtomScript>", "e" : "mt-atom.cgi"}, #192 
    245 { "r" : "1", "t" : "<MTCGIHost>", "e" : "localhost"}, #193 
     245{ "r" : "1", "t" : "<MTCGIHost>", "e" : "narnia.na"}, #193 
    246246{ "r" : "1", "t" : "<MTBlogFileExtension>", "e" : ".html"}, #194 
    247247{ "r" : "1", "t" : "<MTEntries lastn=\"1\"><MTEntryAuthorUsername></MTEntries>", "e" : "Chuck D"}, #195 
     
    274274{ "r" : "1", "t" : "<MTArchiveList archive_type='Weekly'><MTArchiveDateEnd></MTArchiveList>", "e" : "February  4, 1978 11:59 PMFebruary  6, 1965 11:59 PMFebruary  1, 1964 11:59 PMFebruary  2, 1963 11:59 PMFebruary  3, 1962 11:59 PMFebruary  4, 1961 11:59 PM"}, #222 
    275275{ "r" : "1", "t" : "<MTComments lastn='3'><MTFeedbackScore>,</MTComments>", "e" : "1.5,0,0,"}, #223 
    276 { "r" : "1", "t" : "<MTComments lastn='3'>,<MTIfNonEmpty tag='CommenterName'><MTCommenterName>: <MTCommenterIfTrusted>trusted<MTElse>untrusted</MTElse></MTCommenterIfTrusted><MTElse><MTCommentAuthor></MTIfNonEmpty></MTComments>", "e" : ",John Doe: trusted,Comment 3,Chucky Dee: trusted"}, #224 
     276{ "r" : "1", "t" : "<MTComments lastn='3' glue=','><MTIfNonEmpty tag='CommenterName'><MTCommenterName>: <MTCommenterIfTrusted>trusted<MTElse>untrusted</MTElse></MTCommenterIfTrusted><MTElse><MTCommentAuthor></MTIfNonEmpty></MTComments>", "e" : "John Doe: trusted,Comment 3: untrusted,Chucky Dee: trusted"}, #224 
    277277{ "r" : "1", "t" : "<MTTags glue=','><MTTagName> <MTTagRank></MTTags>", "e" : "anemones 4,grandpa 6,rain 2,strolling 6,verse 1"}, #225 
    278278{ "r" : "1", "t" : "<MTEntries tag='grandpa' lastn='1'><MTEntryTags glue=','><MTTagRank></MTEntryTags></MTEntries>", "e" : "6,2,6"}, #226 
     
    398398{ "r" : "1", "t" : "<MTArchiveList archive_type='Individual' sort_order='ascend'><$MTArchiveDate format='%Y.%m.%d.%H.%M.%S'$>;</MTArchiveList>", "e" : "1961.01.31.07.45.01;1962.01.31.07.45.01;1963.01.31.07.45.01;1964.01.31.07.45.01;1965.01.31.07.45.01;1978.01.31.07.45.00;"}, #346 
    399399{ "r" : "1", "t" : "<MTAuthors lastn=\"2\"><MTAuthorID>;</MTAuthors>", "e" : "2;3;"}, #347 
    400 { "r" : "1", "t" : "<MTAuthors sort_by='name'><MTAuthorName>;</MTAuthors>", "e" : "Chuck D;Bob D;"}, #348 
     400{ "r" : "1", "t" : "<MTAuthors sort_by='name'><MTAuthorName>;</MTAuthors>", "e" : "Bob D;Chuck D;"}, #348 
    401401{ "r" : "1", "t" : "<MTAuthors sort_by='nickname'><MTAuthorDisplayName>;</MTAuthors>", "e" : "Chucky Dee;Dylan;"}, #349 
    402 { "r" : "1", "t" : "<MTAuthors sort_by='email'><MTAuthorEmail>;</MTAuthors>", "e" : "chuckd@example.com;bobd@example.com;"}, #350 
    403 { "r" : "1", "t" : "<MTAuthors sort_by='url'><MTAuthorURL>;</MTAuthors>", "e" : "http://chuckd.com/;;"}, #351 
     402{ "r" : "1", "t" : "<MTAuthors sort_by='email'><MTAuthorEmail>;</MTAuthors>", "e" : "bobd@example.com;chuckd@example.com;"}, #350 
     403{ "r" : "1", "t" : "<MTAuthors sort_by='url'><MTAuthorURL>;</MTAuthors>", "e" : ";http://chuckd.com/;"}, #351 
    404404{ "r" : "1", "t" : "<MTAuthors display_name=\"Chucky Dee\"><MTAuthorName>;<MTAuthorDisplayName>;<MTAuthorEmail>;<MTAuthorURL>;</MTAuthors>", "e" : "Chuck D;Chucky Dee;chuckd@example.com;http://chuckd.com/;"}, #352 
    405405{ "r" : "0", "t" : "<MTArchiveList type='Monthly'><MTPages><MTPageTitle></MTPages></MTArchiveList>", "e" : "Watching the River Flow" }, #353 
     
    411411{ "r" : "1", "t" : "<MTEntries id='1'><MTEntryAssets><$MTAssetID$></MTEntryAssets></MTEntries>", "e" : "1"}, #359 
    412412{ "r" : "1", "t" : "<MTPages id='20'><MTPageAssets><$MTAssetID$></MTPageAssets></MTPages>", "e" : "2"}, #360 
    413 { "r" : "1", "t" : "<MTAuthors><$MTAuthorAuthType$>:<$MTAuthorAuthIconURL$>;</MTAuthors>", "e" : "MT:http://localhost/mt-static/images/comment/mt_logo.png;MT:http://localhost/mt-static/images/comment/mt_logo.png;"}, #361 
    414 { "r" : "1", "t" : "<MTComments><$MTCommenterAuthType$>:<$MTCommenterAuthIconURL$>;</MTComments>", "e" : ":;:;:;:;:;MT:http://localhost/mt-static/images/comment/mt_logo.png;MT:http://localhost/mt-static/images/comment/mt_logo.png;:;TypeKey:http://localhost/mt-static/images/comment/typekey_logo.png;"}, #362 
     413{ "r" : "1", "t" : "<MTAuthors><$MTAuthorAuthType$>:<$MTAuthorAuthIconURL$>;</MTAuthors>", "e" : "MT:http://narnia.na/cgi-bin/mt-static/images/comment/mt_logo.png;MT:http://narnia.na/cgi-bin/mt-static/images/comment/mt_logo.png;"}, #361 
     414{ "r" : "1", "t" : "<MTComments><$MTCommenterAuthType$>:<$MTCommenterAuthIconURL$>;</MTComments>", "e" : ":;:;:;:;:;MT:http://narnia.na/cgi-bin/mt-static/images/comment/mt_logo.png;MT:http://narnia.na/cgi-bin/mt-static/images/comment/mt_logo.png;:;TypeKey:http://narnia.na/cgi-bin/mt-static/images/comment/typekey_logo.png;"}, #362 
    415415{ "r" : "1", "t" : "<MTAuthors need_entry='0' ><MTAuthorName>;</MTAuthors>", "e" : "Chuck D;Bob D;Melody;"}, #363 
    416416{ "r" : "1", "t" : "<MTAuthors need_entry='0' status='disabled'><MTAuthorName>;</MTAuthors>", "e" : "Hiro Nakamura;"}, #364 
     
    446446{ "r" : "1", "t" : "<MTAssets lastn='1'><$MTAssetDescription$></MTAssets>", "e" : "This is a test photo."}, #394 
    447447{ "r" : "1", "t" : "<MTSetVar name='val' value='0'><MTIfNonEmpty name=\"val\">zero</MTIfNonEmpty>", "e" : "zero"}, #395 
    448 { "r" : "1", "t" : "<mt:setvar name='foo' value='hoge'><mt:if name='foo' eq='hoge'>value is hoge.<mt:elseif name='foo' eq='koge'>value is koge.<mt:else eq='joge'>value is joge.<mt:elseif eq='moge'>value is moge.<mt:else>value is <mt:getvar name='__value__'></mt:if>", "e" : "value is hoge."}, #396 
    449 { "r" : "1", "t" : "<mt:setvar name='foo' value='koge'><mt:if name='foo' eq='hoge'>value is hoge.<mt:elseif name='foo' eq='koge'>value is koge.<mt:else eq='joge'>value is joge.<mt:elseif eq='moge'>value is moge.<mt:else>value is <mt:getvar name='__value__'></mt:if>", "e" : "value is koge."}, #397 
    450 { "r" : "1", "t" : "<mt:setvar name='foo' value='joge'><mt:if name='foo' eq='hoge'>value is hoge.<mt:elseif name='foo' eq='koge'>value is koge.<mt:else eq='joge'>value is joge.<mt:elseif eq='moge'>value is moge.<mt:else>value is <mt:getvar name='__value__'></mt:if>", "e" : "value is joge."}, #398 
    451 { "r" : "1", "t" : "<mt:setvar name='foo' value='moge'><mt:if name='foo' eq='hoge'>value is hoge.<mt:elseif name='foo' eq='koge'>value is koge.<mt:else eq='joge'>value is joge.<mt:elseif eq='moge'>value is moge.<mt:else>value is <mt:getvar name='__value__'></mt:if>", "e" : "value is moge."}, #399 
    452 { "r" : "1", "t" : "<mt:setvar name='foo' value='poge'><mt:if name='foo' eq='hoge'>value is hoge.<mt:elseif name='foo' eq='koge'>value is koge.<mt:else eq='joge'>value is joge.<mt:elseif eq='moge'>value is moge.<mt:else>value is <mt:getvar name='__value__'></mt:if>", "e" : "value is poge"}, #400 
     448{ "r" : "1", "t" : "<mt:setvar name='foo' value='hoge'><mt:if name='foo' eq='hoge'>value is hoge.<mt:elseif name='foo' eq='koge'>value is koge.<mt:else eq='joge'>value is joge.<mt:elseif eq='moge'>value is moge.<mt:else>value is <mt:getvar name='foo'>.</mt:if>", "e" : "value is hoge."}, #396 
     449{ "r" : "1", "t" : "<mt:setvar name='foo' value='koge'><mt:if name='foo' eq='hoge'>value is hoge.<mt:elseif name='foo' eq='koge'>value is koge.<mt:else eq='joge'>value is joge.<mt:elseif eq='moge'>value is moge.<mt:else>value is <mt:getvar name='foo'>.</mt:if>", "e" : "value is koge."}, #397 
     450{ "r" : "1", "t" : "<mt:setvar name='foo' value='joge'><mt:if name='foo' eq='hoge'>value is hoge.<mt:elseif name='foo' eq='koge'>value is koge.<mt:else eq='joge'>value is joge.<mt:elseif eq='moge'>value is moge.<mt:else>value is <mt:getvar name='foo'>.</mt:if>", "e" : "value is joge."}, #398 
     451{ "r" : "1", "t" : "<mt:setvar name='foo' value='moge'><mt:if name='foo' eq='hoge'>value is hoge.<mt:elseif name='foo' eq='koge'>value is koge.<mt:else eq='joge'>value is joge.<mt:elseif eq='moge'>value is moge.<mt:else>value is <mt:getvar name='foo'>.</mt:if>", "e" : "value is moge."}, #399 
     452{ "r" : "1", "t" : "<mt:setvar name='foo' value='poge'><mt:if name='foo' eq='hoge'>value is hoge.<mt:elseif name='foo' eq='koge'>value is koge.<mt:else eq='joge'>value is joge.<mt:elseif eq='moge'>value is moge.<mt:else>value is <mt:getvar name='foo'>.</mt:if>", "e" : "value is poge."}, #400 
    453453{ "r" : "1", "t" : "<mt:setvar name='foo' value='poge'><mt:if name='foo' eq='hoge'><mt:else>value is <mt:var name='foo'></mt:if>", "e" : "value is poge"}, #401 
    454454{ "r" : "1", "t" : "<mt:setvar name='foo' value='1'><mt:if name='bar'>true<mt:else>false</mt:if>", "e" : "false"}, #402