Labeling Blogger Posts


When posting to Blogger, it's useful to organize your posts using using labels. When using the normal Blogger interface, this is done by adding a comma-separated list of labels to a text field at the bottom of the post. To achieve the same effect using the Blogger API, add an individual <atom:category> element for each label to your post's entry. Set the scheme to 'http://www.blogger.com/atom/ns#', and set the term to your desired label.

For example, the following code for the Zend_Gdata PHP client library would add the labels "foo" and "bar" to a post (stored in $entry):

$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));

5 comments:

Andromeda said...

How can I do the same using the Java API ?

Kreuzberg-Jakob said...

Why don't you write the help sites for Blogspot.com in the same kind than it is done here?
With colored lines and links it is easy to understand, what a part of the text is meant (to change, insert, copy etc.!). At the Blogger help site I never understand anything! As more, as it is written for a big part in German, my options are in German, and when the help is written in English the confusion is complete!

Unknown said...

Sàn Giao Dịch BĐS Đất Vàng chuyên phân phối căn hộ Hoàng Anh Thanh Bình
Các loại căn hộ 2 pn, 3pn, căn shop thương mại - dịch vụ, căn penhouse, căn hộ sân vườn.
Giá cả hợp lý chủ đầu tư:
Diện tích: Diện tích: 73m2 - 81m2 - 92m2 - 113m2 - 149m2 …
Phương án thanh toán linh hoạt, giao nhà hoàn thiện, có nội thất.
Liên hệ nhận thông tin bảng giá và đi xem căn hộ:
Nguyễn Văn Toán

Sàn giao dịch bất động sản Đất Vàng cung cấp cho bạn các thông tin cần thiết để bạn có cái nhìn tổng thể về thị trường BĐS năm 2015.
Web: Căn hộ Hoàng Anh Thanh Bình
Click vào Keywords: Căn hộ Hoàng Anh Thanh Bình quận 7, TPHCM
Click vào Keywords: Can ho Vinhomes Central Park Tan Cang

Quân Đào said...

lớp học kế toán tổng hợp
lớp học kế toán thực hành
khóa học kế toán tổng hợp tại vinh nghệ an
trung tâm đào tạo kế toán tại vinh nghệ an
khóa học kế toán thực hành
Khóa học kế toán tổng hợp thực hành tại bắc ninh
Khóa học kế toán tổng hợp thực hành tại hải phòng
Khóa học kế toán tổng hợp thực hành tại tphcm
Khóa học kế toán tổng hợp thực hành tại bình dương
Khóa học kế toán tổng hợp thực hành tại hà đông
Khóa học kế toán tổng hợp thực hành tại cầu giấy
Khóa học kế toán tổng hợp thực hành tại long biên
Khóa học kế toán tổng hợp thực hành tại thanh xuân
giá dịch vụ kế toán

michael said...

yespornplease
yespornplease
yespornplease
yespornplease