Using a trick HTTP response header
HTTP/1.1 200 OK
Server: xxx
Beat: Waiting.................................... // trick
Connection:Close
Content-length:255
Content-type:text/xml
Date:Wed Apr 20 12:01:17 EST 2011
Expires:Sun, 24 Apr 1981 01:29:32 GMT
Showing posts with label others. Show all posts
Showing posts with label others. Show all posts
Tuesday, April 19, 2011
Sunday, February 27, 2011
How to Extend Mac OS X 10.x Partition in Vmware Workstation
how to use unallocated space and merge it into another Mac OS X partition. Basically these are the steps to expand the main partition after increasing the size of a virtual machine running MAC OS X.
Thursday, February 24, 2011
Add labels to Google blogger by API
PHP:
http://gdatatips.blogspot.com/2008/07/labeling-blogger-posts.html
$label1 = new Zend_Gdata_App_Extension_Category(
'foo', 'http://www.blogger.com/atom/ns#');
$label2 = new Zend_Gdata_App_Extension_Category(
'bar', 'http://www.blogger.com/atom/ns#');
$entry->setCategory(array($label1, $label2));
Java:
http://www.one-minute-info.com/2010/06/add-label-to-posts-via-java-blogger-api.html
myEntry = new Entry();
myEntry.setTitle(new PlainTextConstruct("some title"));
myEntry.setContent(new HtmlTextConstruct("some HTML body"));
categories=myEntry.getCategories();
category= new Category();
category.setTerm("whatever label you like such as Google Blogger or Java API");
category.setLabel(null);
category.setScheme("http://www.blogger.com/atom/ns#");
category.setLabelLang(null);
categories.add(category);
URL postUrl = new URL("http://www.blogger.com/feeds/123456/posts/default");
myService.insert(postUrl, myEntry);
http://gdatatips.blogspot.com/2008/07/labeling-blogger-posts.html
$label1 = new Zend_Gdata_App_Extension_Category(
'foo', 'http://www.blogger.com/atom/ns#');
$label2 = new Zend_Gdata_App_Extension_Category(
'bar', 'http://www.blogger.com/atom/ns#');
$entry->setCategory(array($label1, $label2));
Java:
http://www.one-minute-info.com/2010/06/add-label-to-posts-via-java-blogger-api.html
myEntry = new Entry();
myEntry.setTitle(new PlainTextConstruct("some title"));
myEntry.setContent(new HtmlTextConstruct("some HTML body"));
categories=myEntry.getCategories();
category= new Category();
category.setTerm("whatever label you like such as Google Blogger or Java API");
category.setLabel(null);
category.setScheme("http://www.blogger.com/atom/ns#");
category.setLabelLang(null);
categories.add(category);
URL postUrl = new URL("http://www.blogger.com/feeds/123456/posts/default");
myService.insert(postUrl, myEntry);
Subscribe to:
Posts (Atom)