Непогана стяття по Twitter API
Специфікація Twitter API
пʼятниця, 19 березня 2010 р.
вівторок, 16 березня 2010 р.
Закладки
Знайшов кілька закладок
http://www.searchlast.co.uk/blog/search-engine-optimisation/how-to-create-a-twitter-bookmark/
http://www.searchlast.co.uk/blog/search-engine-optimisation/how-to-create-a-twitter-bookmark/
del.icio.us
<a href="http://del.icio.us/post?url=http://www.searchlast.
co.uk/blog/&title=Product+Price+Comparison+and+E-commerce
+News+Blog" >Del.icio.us</a>
Digg
<a href="http://digg.com/submit?url=http://www.searchlast.
co.uk/blog/&title=Product+Price+Comparison+and+E-commerce
+News+Blog" >Digg.com</a>
<a href="http://reddit.com/submit?url=http://www.searchlast.
co.uk/blog/&title=Product+Price+Comparison+and+E-commerce+
News+Blog" >Reddit.com</a>
<a href="http://www.facebook.com/sharer.php?u=http://www.
searchlast.co.uk/blog/">Facebook.com</a>
StumbleUpon
<a href="http://www.stumbleupon.com/submit?url=http://www.
searchlast.co.uk/blog/&title=Product+Price+Comparison+and
+E-commerce+News+Blog" >StumbleUpon.com</a>
<a href="http://www.twitter.com/home?status=Currently+reading
+http://www.searchlast.co.uk/blog/" >Twitter.com</a>
Мітки:
del.icio.us,
Digg,
Facebook,
Reddit,
StumbleUpon,
twitter
субота, 20 лютого 2010 р.
JavaScript: replace XML special characters
XmlHelper = {};
XmlHelper.getExp = function(str)
{
return new RegExp(str, 'g');
}
XmlHelper.encodeInvalidChars = function(str) {
return str
.replace(this.getExp('&'),'&')
.replace(this.getExp('<'),'<')
.replace(this.getExp('>'),'>')
.replace(this.getExp('\''),''')
.replace(this.getExp('"'),'"')
}
XmlHelper.decodeInvalidChars = function(str) {
return str
.replace(this.getExp('&'),'&')
.replace(this.getExp('<'),'<')
.replace(this.getExp('>'),'>')
.replace(this.getExp('''),'\'')
.replace(this.getExp('"'),'"')
}
четвер, 18 лютого 2010 р.
C#: replace XML special characters
System.Security.SecurityElement.Escape(string str);
& - &
< - <
> - >
" - "
' - '
середа, 23 грудня 2009 р.
not null -> true and null -> false
select
CASE
when ImageFile is NULL then 0
else 1
end as HasImage
from News
Bind to ItemIndex
Repeater:
<% #DataBinder.Eval(Container, "ItemIndex") %>
Gridview:
<% #DataBinder.Eval(Container, "RowIndex") %>
<% #DataBinder.Eval(Container, "ItemIndex") %>
Gridview:
<% #DataBinder.Eval(Container, "RowIndex") %>
Підписатися на:
Дописи (Atom)