Showing posts with label updates. Show all posts
Showing posts with label updates. Show all posts
Blogger XML Operator and Syntax Updates 2015
Recently Blogger has released several new operators for the syntax of XML them. This new syntax allows us to be able to write code templates that better, more logical and more efficient. In addition to reducing the size of the file is XML, the new syntax also allows developers to be able to find new potentials in manipulating the template code Bloggers who used mostly only we can do with JavaScript. Here is a summary ...
And
Before
<b:if cond=data:blog.searchQuery>
<b:if cond=data:numPosts > 10>
The search results by the number of posts more than 10 ...
</b:if>
</b:if>After
<b:if cond=data:blog.searchQuery and data:numPosts > 10>
The search results by the number of posts more than 10 ...
</b:if><b:if cond=data:blog.searchQuery && data:numPosts > 10>
The search results by the number of posts more than 10 ...
</b:if>Or
Before
<b:if cond=data:blog.pageType == "index">
Pass the test ...
</b:if>
<b:if cond=data:blog.pageType == "item">
Pass the test ...
</b:if>After
<b:if cond=data:blog.pageType == "index" or data:blog.pageType == "item">
Pass the test ...
</b:if><b:if cond=data:blog.pageType == "index" || data:blog.pageType == "item">
Pass the test ...
</b:if>Not
Before
<b:if cond=data:comment.isDeleted>
<b:else/>
Comments are not erased here ...
</b:if><b:if cond=data:comment.isDeleted == "false">
Comments are not erased here ...
</b:if>After
<b:if cond=!data:comment.isDeleted>
Comments are not erased here ...
</b:if><b:if cond=not data:comment.isDeleted>
Comments are not erased here ...
</b:if>Which can not be:<!-- TEMPLATE ERROR: not term cannot be used as operator except when preceding in or contains -->
<b:if cond=data:comment.isDeleted not "false">
Comments are not erased here ...
</b:if><!-- TEMPLATE ERROR: Extra characters at end of string: buf=[!] remainder=["false"] -->
<b:if cond=data:comment.isDeleted ! "false">
Comments are not erased here ...
</b:if>Which can be:<b:if cond=not data:comment.isDeleted == "false">
Comments are not erased here ...
</b:if><b:if cond=!data:comment.isDeleted == "false">
Comments are not erased here ...
</b:if>Ternary Selector
Before
<html class='<b:if cond=data:blog.pageType == "item">
page-item
<b:else/>
page-non-item
</b:if>'>
</html>After
<html expr_class=data.blog.pageType == "item" ? "page-item" : "page-non-item">
</html><html expr_class="page-" + (data.blog.pageType == "item" ? "" : "non-") + "item">
</html>Membership
Almost the same as the operatoror, just that all references must be the same comparison, values ??are distinguished:Before
<b:if cond=data:comment.author == "Taufik Nurrohman">
Admin comment ...
</b:if>
<b:if cond=data:comment.author == "Taufik">
Admin comment ...
</b:if>
<b:if cond=data:comment.author == "Admin">
Admin comment ...
</b:if>After
<b:if cond=data:comment.author in {"Taufik Nurrohman","Taufik","Admin"}>
Admin comment ...
</b:if><b:if cond=data:comment.author in ["Taufik Nurrohman","Taufik","Admin"]>
Admin comment ...
</b:if><b:if cond={"Taufik Nurrohman","Taufik","Admin"} contains data:comment.author>
Admin comment ...
</b:if><b:if cond=["Taufik Nurrohman","Taufik","Admin"] contains data:comment.author>
Admin comment ...
</b:if>Else If
Before
<b:if cond=data:blog.pageType == "item">
<data:post.body/>
<b:else/>
<b:if cond=data:blog.pageType == "static_page">
<data:post.body/>
<b:else/>
<data:post.snippet/>
</b:if>
</b:if>After
<b:if cond=data:blog.pageType == "item">
<data:post.body/>
<b:elseif cond=data:blog.pageType == "static_page">
<data:post.body/>
<b:else/>
<data:post.snippet/>
</b:if>or
<b:if cond=data:blog.pageType in {"item","static_page"}>
<data:post.body/>
<b:else/>
<data:post.snippet/>
</b:if>Reference:
Widget Tags for Layouts
Expressions in Layouts Tags
Adding New Expressions to Blogger Templates
Tenorshare Updates iPhone Data Recovery to the World’s 1st Data Recovery Software to Support iOS 7
Apple has released new iPhone 5S and iPhone 5C with iOS 7, and users can 100% rely on the updated iPhone Data Recovery to recover files when they deleted or lost data on these 2 iPhone models. Whats more, this software also supports to recover lost data after updating to iOS 7 for iPhone 5, iPhone 4S, iPhone 4. All the recovered files will be saved into readable formats, such as text contents in .txt, .xls, .xml, media contents in their original formats.
Key Features of Tenorshare iPhone Data Recovery That Attract You
1. Support all iOS 7 devices, including iPhone 5S/5C/5/4S/4.
2. Recover data from iPhone 5S/5C, and restore lost data after iOS 7 update on iPhone 5/4S/4
3. Support up to 12 types of iPhone files recovery, including photos, voice memos, call history, text messages (iMessages, WhatsApp), notes, calendar, Safari bookmarks and restore iPhone contacts after iOS 7 update etc.
4. Provide 2 data recovery modes: recover data directly from iPhone without backup, and restore iPhone data from iTunes backup file.
5. Backup & transfer iPhone data to local computer.
Price and Availability
iPhone Data Recovery to support iOS 7 is now available for $59.95 (available until Oct. 1st). For more information, or to download free trial versions please visit:
http://www.any-data-recovery.com/product/iphone-data-recovery.html
About Tenorshare
Tenorshare is one of the worlds top software companies providing iPhone utilities, data tools, system utilities, PDF tools, and video tools. Boasting the most comprehensive and
innovative software, weve built a reputation for delivering efficient and easy-to-use solutions. For more information, please visit http://www.any-data-recovery.com/
Subscribe to:
Comments (Atom)
