Skip to content

Instantly share code, notes, and snippets.

@aklaswad
Created January 5, 2010 09:14
Show Gist options
  • Save aklaswad/269265 to your computer and use it in GitHub Desktop.
Save aklaswad/269265 to your computer and use it in GitHub Desktop.
<mt:setvar name="mttags" value="mt:CommenterName":"mt:CommentBody":"mtApp:PageActions":"mt:IfNonEmpty":"mt:IncludeBlock":"mt:ArchiveList":"mt:AssetScoreAvg":"mt:CommentPreviewEmail":"mt:FolderHeader":"mt:PageNext":"mt:RemoteSignOutLink":"mt:IfCommentParent":"mt:HTTPContentType":"mt:PageAuthorLink":"mt:BlogLanguage":"mt:NotifyScript":"mt:SetVarBlock":"mt:WebsiteID":"mt:CommenterUserpicAsset":"mt:ArchivePrevious":"mt:EntryAuthorDisplayName":"mt:ArchiveTypeLabel":"mt:CommentScript":"mt:EntryCommentCount":"mt:SubCatIsFirst":"mt:AssetIfTagged":"mt:IfCommentsAccepted":"mt:PreviousLink":"mt:EntryKeywords":"mt:CommentPreviewBody":"mt:SetHashVar":"mt:EntryAdditionalCategories":"mt:AssetDescription":"mt:BlogParentWebsite":"mt:Authors":"mt:PageAuthorURL":"mt:BlogIfCommentsOpen":"mt:CGIPath":"mt:SubFolderRecurse":"mt:IfTypeKeyToken":"mt:AtomScript":"mt:SearchMaxResults":"mt:IfPingsAccepted":"mt:IfCurrentPage":"mt:IfMoreResults":"mt:NextLink":"mt:BlogCategoryCount":"mt:Folders":"mt:CategoryArchiveLink":"mt:PagePermalink":"mt:BlogID":"mtApp:Form":"mt:AuthorScore":"mt:EntryAssets":"mt:IfArchiveType":"mt:BlogThemeID":"mt:Blogs":"mt:PingsFooter":"mt:ParentFolder":"mt:PagesHeader":"mt:AssetLink":"mt:CGIRelativeURL":"mt:SignInLink":"mt:IfCategory":"mt:AdminCGIPath":"mt:IfCommenterIsAuthor":"mt:StaticFilePath":"mt:CommentFields":"mt:Var":"mt:CommentPreviewIsStatic":"mt:CommentAuthorLink":"mt:XMLRPCScript":"mt:PingScoreAvg":"mt:CommentURL":"mt:CalendarDay":"mt:EntriesCount":"mt:AuthorEmail":"mt:EntryFlag":"mt:CommentEmail":"mt:CategoryDescription":"mt:FolderPath":"mt:IfImageSupport":"mt:IndexLink":"mt:CommentPreviewDate":"mt:AssetScoreHigh":"mt:PingTitle":"mt:CategoryCommentCount":"mt:ParentFolders":"mt:ArchiveFile":"mt:EntryIfExtended":"mt:EntryAuthorUserpicURL":"mt:AssetProperty":"mt:GetVar":"mt:TopLevelParent":"mt:IfCommenterTrusted":"mt:IfRegistrationNotRequired":"mt:BlogArchiveURL":"mt:FolderFooter":"mt:UserSessionCookieName":"mt:ArchiveTitle":"mt:CategoryLabel":"mt:StaticWebPath":"mt:EntryAtomID":"mt:EntryTrackbackID":"mt:IfIsAncestor":"mt:CommentOrderNumber":"mt:AssetURL":"mt:DefaultLanguage":"mt:EntryModifiedDate":"mt:BlogEntryCount":"mt:Entries":"mt:HasNoSubCategories":"mt:WebsiteTimezone":"mt:CategoryBasename":"mt:AuthorScoreCount":"mt:PingScore":"mt:Pings":"mt:PageAuthorEmail":"mt:ElseIf":"mt:WebsiteThemeID":"mt:CommentScore":"mt:HasSubFolders":"mt:AuthorBasename":"mt:CaptchaFields":"mt:EntryStatus":"mt:WebsiteFileExtension":"mt:EntryBlogName":"mt:EntryTags":"mt:CategoryTrackbackLink":"mt:EntryIfAllowPings":"mt:IfArchiveTypeEnabled":"mt:DateHeader":"mt:CategoryID":"mt:FolderBasename":"mt:Ignore":"mt:BlogDescription":"mt:FolderPrevious":"mt:WidgetSet":"mt:IfRequireCommentEmails":"mt:SetVars":"mt:IfAllowCommentHTML":"mt:CommentEntry":"mt:SubCategories":"mt:PageAssets":"mt:SupportDirectoryURL":"mt:PageBasename":"mt:WebsiteCCLicenseURL":"mt:CalendarWeekHeader":"mt:IfIsDescendant":"mt:CalendarDate":"mt:FolderDescription":"mt:PageID":"mt:PingsSent":"mt:EntryBody":"mt:AuthorHasPage":"mt:PingURL":"mt:EntriesFooter":"mt:EntryClass":"mt:CommenterEmail":"mt:EntryAuthorLink":"mt:PageMore":"mt:SubFolders":"mt:PageExcerpt":"mt:CurrentPage":"mt:AuthorHasEntry":"mtApp:Link":"mt:ArchiveLink":"mt:EntryDate":"mt:DateFooter":"mt:TagID":"mt:TagRank":"mt:CommentAuthorIdentity":"mt:HasParentCategory":"mt:ArchiveType":"mt:EntryID":"mt:EntryNext":"mt:ArchiveCount":"mt:WebsitePageCount":"mt:CommenterAuthType":"mt:AssetThumbnailLink":"mt:AuthorUserpicURL":"mt:CommentPreviewIP":"mt:PingIP":"mt:IfNeedEmail":"mt:WebsitePath":"mt:CommentID":"mt:EntryClassLabel":"mt:UserSessionCookieTimeout":"mt:IfExternalUserManagement":"mt:BlogCommentCount":"mt:EntryAuthorNickname":"mt:AssetType":"mt:Assets":"mt:IfRegistrationAllowed":"mt:EntryScore":"mt:AssetLabel":"mt:EntryBlogDescription":"mt:CommentName":"mt:BlogCCLicenseImage":"mt:SignOutLink":"mt:PageAuthorDisplayName":"mt:IfDynamic":"mt:AuthorRank":"mt:IfWebsite":"mt:SubCategoryPath":"mtApp:Widget":"mt:TagSearchLink":"mt:CommentIfModerated":"mt:CommentIP":"mt:CalendarCellNumber":"mt:CommenterURL":"mt:TopLevelCategories":"mt:IfPreviousResults":"mt:ErrorMessage":"mt:FeedbackScore":"mt:WebsiteHasBlog":"mt:CommentScoreAvg":"mt:ArchiveListFooter":"mt:FolderID":"mt:EntryTrackbackData":"mt:Loop":"mt:ImageWidth":"mt:PageModifiedDate":"mt:PageDate":"mt:CommentEntryID":"mt:EntryTrackbackLink":"mt:Section":"mt:EntryAuthorUserpic":"mt:ArchiveListHeader":"mt:IndexName":"mt:BlogTemplateSetID":"mt:BuildTemplateID":"mt:CommentBlogID":"mt:WebsiteDescription":"mt:IfAuthor":"mt:PagePrevious":"mt:PingScoreCount":"mt:PageTitle":"mt:BlogName":"mt:EntryIfAllowComments":"mt:Link":"mt:AuthorDisplayName":"mtApp:ActionBar":"mt:AssetIsLastInRow":"mt:AdminScript":"mt:AssetID":"mt:AssetDateAdded":"mt:IfCommentsActive":"mt:PagerBlock":"mt:UserSessionCookieDomain":"mt:TagName":"mt:ImageHeight":"mt:EntryAuthorURL":"mt:EntryLink":"mt:Date":"mt:EntryAuthorUsername":"mt:Include":"mt:SignOnURL":"mt:EntryScoreHigh":"mt:Unless":"mt:IfBlog":"mt:WebsiteName":"mt:ArchiveLabel":"mt:CGIServerPath":"mt:CategoryPrevious":"mt:CommenterUserpicURL":"mt:FolderLabel":"mt:WidgetManager":"mt:Else":"mt:EntryBlogID":"mt:PingsSentURL":"mt:AuthorScoreAvg":"mt:AuthorURL":"mt:TypeKeyToken":"mt:PingRank":"mt:WebsitePingCount":"mt:PagesFooter":"mt:EntryIfCategory":"mt:PingEntry":"mt:TopLevelFolder":"mt:AssetsHeader":"mt:BlogPageCount":"mt:WebsiteIfCommentsOpen":"mt:CommentParent":"mt:CommenterAuthIconURL":"mt:CategoryTrackbackCount":"mt:ImageURL":"mt:FolderNext":"mt:AssetScoreLow":"mt:Version":"mtApp:Setting":"mt:WebsiteIfCCLicense":"mt:EntryMore":"mt:EntryPrevious":"mt:TagCount":"mt:RemoteSignInLink":"mt:PingExcerpt":"mt:TotalPages":"mt:BlogIfCCLicense":"mt:EntryIfCommentsOpen":"mt:WebsiteURL":"mt:EntryScoreCount":"mt:ProductName":"mt:EntryAuthorID":"mt:HasSubCategories":"mt:WebsiteCommentCount":"mt:AssetFileExt":"mt:ParentCategory":"mt:IfCommenterIsEntryAuthor":"mt:AssetRank":"mt:AuthorAuthIconURL":"mt:EntryAuthorEmail":"mt:Calendar":"mt:CommentsHeader":"mt:UserSessionCookiePath":"mt:IfCommentsAllowed":"mt:CommentRank":"mt:PagerLink":"mt:FileTemplate":"mt:CommentAuthor":"mt:PingScoreLow":"mt:AuthorEntryCount":"mt:EntryAuthor":"mt:EntriesWithSubCategories":"mt:AssetCount":"mt:CommenterIfTrusted":"mt:BlogFileExtension":"mt:TrackbackScript":"mt:EntryScoreLow":"mt:TopLevelFolders":"mt:TagLabel":"mt:CommentRepliesRecurse":"mt:CommenterUsername":"mt:IfCommenterRegistrationAllowed":"mt:CalendarIfToday":"mt:AssetFilePath":"mtApp:StatusMsg":"mt:SearchScript":"mt:Categories":"mt:IfPingsActive":"mt:AuthorAuthType":"mt:AuthorScoreHigh":"mt:PingBlogName":"mt:AssetAddedBy":"mt:EntryTitle":"mt:Asset":"mt:CommentScoreLow":"mt:AuthorPrevious":"mt:TemplateNote":"mt:CommentLink":"mt:EntryAuthorUserpicAsset":"mt:CategoryCount":"mt:CategoryIfAllowPings":"mt:EntryEditLink":"mt:EntryCreatedDate":"mt:AuthorUserpic":"mt:For":"mt:PageTags":"mt:AuthorNext":"mt:CommentPreviewAuthor":"mt:CalendarIfNoEntries":"mt:IfPingsModerated":"mt:If":"mt:Websites":"mt:SubCatsRecurse":"mt:WebsiteRelativeURL":"mt:TemplateCreatedOn":"mt:HasParentFolder":"mt:EntryBasename":"mt:EntryRank":"mt:AssetFileName":"mt:PageKeywords":"mt:IndexList":"mtApp:ListFilters":"mt:CommenterUserpic":"mt:CommentReplies":"mt:AssetsFooter":"mt:HasNoParentCategory":"mt:UserSessionState":"mt:AssetIsFirstInRow":"mt:PageFolder":"mt:AuthorUserpicAsset":"mt:FolderCount":"mt:EntryBlogURL":"mt:BlogSitePath":"mt:Language":"mt:BlogRelativeURL":"mt:CommentsFooter":"mt:EntriesHeader":"mt:ArchiveCategory":"mt:ArchiveDateEnd":"mt:IfRegistrationRequired":"mt:CommentPreviewAuthorLink":"mt:EntryCategory":"mt:EntryPermalink":"mt:BlogCCLicenseURL":"mt:IfPingsAllowed":"mt:BlogHost":"mt:IfCommentsModerated":"mt:CommentScoreHigh":"mt:AssetThumbnailURL":"mt:AuthorID":"mt:CommentReplyToLink":"mt:Comments":"mt:SetVar":"mt:AssetScore":"mt:BlogTimezone":"mt:EntryIfTagged":"mt:PingScoreHigh":"mt:CalendarWeekFooter":"mt:AuthorScoreLow":"mt:PageBody":"mt:ArchiveNext":"mtApp:SettingGroup":"mt:CalendarIfBlank":"mt:CommentPreviewState":"mt:AssetScoreCount":"mt:SetVarTemplate":"mt:PublishCharset":"mt:CGIHost":"mt:Tags":"mt:AuthorName":"mt:CategoryNext":"mt:IndexBasename":"mt:ParentCategories":"mtApp:Listing":"mt:IfNonZero":"mt:CommentDate":"mt:EntryTrackbackCount":"mt:IfStatic":"mt:IfFolder":"mt:BlogURL":"mt:SubCatIsLast":"mt:PageIfTagged":"mt:Archives":"mt:PingID":"mt:EntryCategories":"mt:IfCommentReplies":"mt:PingsHeader":"mt:AssetMimeType":"mt:EntryScoreAvg":"mt:CommentParentID":"mt:WebsiteCCLicenseImage":"mt:WebsiteHost":"mt:CommentPreviewURL":"mt:PingDate":"mt:CommenterNameThunk":"mt:AssetTags":"mt:EntryExcerpt":"mt:BlogPingCount":"mt:ConfigFile":"mt:CommentScoreCount":"mt:ArchiveDate":"mt:CommenterID":"mt:Pages":"mt:CCLicenseRDF":"mt:CalendarIfEntries">
<mt:var name="count(mttags)" setvar="tagcount" />
<mt:TwitterMentions
username = "mturanai"
password = "himitsu" >
<mt:var name="id" op="%" value="$tagcount" setvar="tagindex">
<mt:var name="mttags" index="$tagindex" setvar="luckytag">
<mt:TwitterStatusUpdate
username = "mturanai"
password = "himitsu"
>@<mt:var name="screen_name"> 今日のラッキータグは<<mt:var name="luckytag">>です。</mt:TwitterStatusUpdate>
</mt:TwitterMentions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment