- Log in with your BLogger account.
- Go to Layout.
- Click Page Element.
- Select Feed.
- Type your Blog Feed Address in the blank box beside URL Feed. Example your blog address is http://andreas.blogspot.com, than your Feed URL is http://andreas.com/atom.xml.
- Click Save Changes.
- Next Steps is make marquee effect in yoru template.
- Click Edit HTML.
- Mark on Expand Template Widget.
- Find this code.
<b:widget id='Feed1' locked='false' title='Recent Post' type='Feed'>
<b:includable id='main'>
<h2><data:title/></h2>
<div class='widget-content'>
<ul expr:id='data:widget.instanceId + "_feedItemListDisplay"'>
<b:loop values='data:feedData.items' var='i'>
<li>
<span class='item-title'>
<a expr:href='data:i.alternate.href'>
<data:i.title/>
</a>
</span>
<b:if cond='data:showItemDate'>
<b:if cond='data:i.str_published != ""'>
<span class='item-date'>
 - <data:i.str_published/>
</span>
</b:if>
</b:if>
<b:if cond='data:showItemAuthor'>
<b:if cond='data:i.author != ""'>
<span class='item-author'>
 - <data:i.author/>
</span>
</b:if>
</b:if>
</li>
</b:loop>
</ul>
<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget> - Add marquee code as shown below.
<b:widget id='Feed1' locked='false' title='Recent Post' type='Feed'>
<b:includable id='main'>
<h2><data:title/></h2>
<marquee align='center' direction='up' height='150' onmouseout='this.start()' onmouseover='this.stop()' scrollamount='2' width='100%'>
<div class='widget-content'>
<ul expr:id='data:widget.instanceId + "_feedItemListDisplay"'>
<b:loop values='data:feedData.items' var='i'>
<li>
<span class='item-title'>
<a expr:href='data:i.alternate.href'>
<data:i.title/>
</a>
</span>
<b:if cond='data:showItemDate'>
<b:if cond='data:i.str_published != ""'>
<span class='item-date'>
 - <data:i.str_published/>
</span>
</b:if>
</b:if>
<b:if cond='data:showItemAuthor'>
<b:if cond='data:i.author != ""'>
<span class='item-author'>
 - <data:i.author/>
</span>
</b:if>
</b:if>
</li>
</b:loop>
</ul>
<b:include name='quickedit'/>
</div>
</marquee>
</b:includable>
</b:widget> - Click Save Template button.
- Finished.
Need to know in that, the marquee code will less good if viewed in a browser mozilla, this code works well when viewed on the internet explorer browser.
0 comments:
Post a Comment