Search This Site

Custom Search

Thursday, September 30, 2010

Re: [bloggerDev] Re: Retrieving comments awaiting moderation

No. Not at the moment.

Jinwoo

On Thu, Sep 30, 2010 at 4:46 PM, huajun <fenghuajun@gmail.com> wrote:
So I can not use Blogger API to approve a comment?

On Oct 1, 12:59 am, Jinwoo Lee <jin...@google.com> wrote:
> Sorry, but Blogger doesn't support that at the moment. You can let Blogger
> send email to you when a non-member leaves comments on your blog though.
>
> Jinwoo
>
>
>
> On Thu, Sep 30, 2010 at 7:11 AM, huajun <fenghua...@gmail.com> wrote:
> > Is there any way to retrieve comments awaiting moderation?
>
> > I have tryhttp://www.blogger.com/feeds/blogID/comments/defaultwith
> > authorization. I can get the comments published, but not awaiting
> > moderation.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Blogger Developer Group" group.
> > To post to this group, send email to bloggerdev@googlegroups.com.
> > To unsubscribe from this group, send email to
> > bloggerdev+unsubscribe@googlegroups.com<bloggerdev%2Bunsubscribe@googlegrou ps.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/bloggerdev?hl=en.

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.


--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Re: Retrieving comments awaiting moderation

So I can not use Blogger API to approve a comment?

On Oct 1, 12:59 am, Jinwoo Lee <jin...@google.com> wrote:
> Sorry, but Blogger doesn't support that at the moment. You can let Blogger
> send email to you when a non-member leaves comments on your blog though.
>
> Jinwoo
>
>
>
> On Thu, Sep 30, 2010 at 7:11 AM, huajun <fenghua...@gmail.com> wrote:
> > Is there any way to retrieve comments awaiting moderation?
>
> > I have tryhttp://www.blogger.com/feeds/blogID/comments/defaultwith
> > authorization. I can get the comments published, but not awaiting
> > moderation.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Blogger Developer Group" group.
> > To post to this group, send email to bloggerdev@googlegroups.com.
> > To unsubscribe from this group, send email to
> > bloggerdev+unsubscribe@googlegroups.com<bloggerdev%2Bunsubscribe@googlegrou ps.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/bloggerdev?hl=en.

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Re: [bloggerDev] Retrieving comments awaiting moderation

Sorry, but Blogger doesn't support that at the moment. You can let Blogger send email to you when a non-member leaves comments on your blog though.

Jinwoo

On Thu, Sep 30, 2010 at 7:11 AM, huajun <fenghuajun@gmail.com> wrote:
Is there any way to retrieve comments awaiting moderation?

I have try http://www.blogger.com/feeds/blogID/comments/default with
authorization. I can get the comments published, but not awaiting
moderation.

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.


--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Retrieving comments awaiting moderation

Is there any way to retrieve comments awaiting moderation?

I have try http://www.blogger.com/feeds/blogID/comments/default with
authorization. I can get the comments published, but not awaiting
moderation.

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Wednesday, September 29, 2010

[bloggerDev] Re: Archive feed not enabled

I somehow missed this section when previously reviewing the
documentation. This definitely sheds light on the issue. The Feed
Importer functionality I was referring to before requests a feed from
a URL, but has no way of authenticating the blog user. But even if I
could authenticate and grab the XML feed, the out-of-the-box Feed
Importer still would not work. I tested this by saving the feed to a
local file and then copying and pasting it into a template within the
CMS that the importer could request without authentication.
Unfortunately, as mentioned before, the importer doesn't differentiate
between posts and comments in this feed, treating all entries as
posts.

So I either need to stick to using the out-of-the-box Feed Importer to
import the posts and comments separately, and then using custom code
to associate the comments with the posts, or write my own custom feed
importer from scratch that does everything needed. If I was starting
out knowing what I know now, I would probably go with the completely
custom solution. But since I already write the code to associate
comments with posts, I'll probably stick with it for now.

Jeremy

On Sep 30, 12:39 am, Aratina Cage <aratina.c...@gmail.com> wrote:
> Oh, so you have already gone through all that. Hmmm... I took another
> quick look and found this:http://code.google.com/apis/blogger/docs/2.0/developers_guide_protoco...
>
> which says,"Neither of the [archive] URLs... above support query
> parameters." So scratch that. It continues, "Both requests must also
> contain authentication information and only blog administrators will
> be able to import/export the blog using these [archive] feed URLs."
> That makes it more difficult to do, and perhaps you were trying to get
> the archive feeds without authenticating first?
> --Aratina
>
> On Sep 30, 12:13 am, Jeremy <jeremyle...@yahoo.com> wrote:
>
> > That's essentially what I did, though there were some complexities due
> > to working within the framework of the web content management system
> > I'm using.  It has a Feed Importer that imports the feed entries as
> > blog posts (whether posts or comments).  I first import the posts,
> > then the comments, and then use an event listener (custom Java) to
> > associate the comments with the posts - again made more difficult
> > because the Feed Importer only imports the blog ID and comment ID for
> > comments, not the post ID.  Anyhow, my custom solution works, but I
> > was hoping to get everything  in a single feed that the Feed Importer
> > could use without needing custom code to associate the comments with
> > posts.
>
> > Thanks again for the help!
>
> > Jeremy
>
> > On Sep 29, 10:29 pm, Aratina Cage <aratina.c...@gmail.com> wrote:
>
> > > I see. If you continue running into dead ends trying to get it all at
> > > once through an archive, it should be easy enough to create a coupler
> > > function that associates all comments with their respective posts. For
> > > example, if you were using JSON feeds, you would match a single
> > > comment's entry["thr$in-reply-to"].source with a single post's
> > > entry.link[i].href where link[i] has a "rel" attribute of "self". Good
> > > luck!
>
>

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Re: Archive feed not enabled

Oh, so you have already gone through all that. Hmmm... I took another
quick look and found this:
http://code.google.com/apis/blogger/docs/2.0/developers_guide_protocol.html#ExportFormat

which says,"Neither of the [archive] URLs... above support query
parameters." So scratch that. It continues, "Both requests must also
contain authentication information and only blog administrators will
be able to import/export the blog using these [archive] feed URLs."
That makes it more difficult to do, and perhaps you were trying to get
the archive feeds without authenticating first?
--Aratina

On Sep 30, 12:13 am, Jeremy <jeremyle...@yahoo.com> wrote:
> That's essentially what I did, though there were some complexities due
> to working within the framework of the web content management system
> I'm using.  It has a Feed Importer that imports the feed entries as
> blog posts (whether posts or comments).  I first import the posts,
> then the comments, and then use an event listener (custom Java) to
> associate the comments with the posts - again made more difficult
> because the Feed Importer only imports the blog ID and comment ID for
> comments, not the post ID.  Anyhow, my custom solution works, but I
> was hoping to get everything  in a single feed that the Feed Importer
> could use without needing custom code to associate the comments with
> posts.
>
> Thanks again for the help!
>
> Jeremy
>
> On Sep 29, 10:29 pm, Aratina Cage <aratina.c...@gmail.com> wrote:
>
>
>
> > I see. If you continue running into dead ends trying to get it all at
> > once through an archive, it should be easy enough to create a coupler
> > function that associates all comments with their respective posts. For
> > example, if you were using JSON feeds, you would match a single
> > comment's entry["thr$in-reply-to"].source with a single post's
> > entry.link[i].href where link[i] has a "rel" attribute of "self". Good
> > luck!

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Re: Archive feed not enabled

That's essentially what I did, though there were some complexities due
to working within the framework of the web content management system
I'm using. It has a Feed Importer that imports the feed entries as
blog posts (whether posts or comments). I first import the posts,
then the comments, and then use an event listener (custom Java) to
associate the comments with the posts - again made more difficult
because the Feed Importer only imports the blog ID and comment ID for
comments, not the post ID. Anyhow, my custom solution works, but I
was hoping to get everything in a single feed that the Feed Importer
could use without needing custom code to associate the comments with
posts.

Thanks again for the help!

Jeremy

On Sep 29, 10:29 pm, Aratina Cage <aratina.c...@gmail.com> wrote:
> I see. If you continue running into dead ends trying to get it all at
> once through an archive, it should be easy enough to create a coupler
> function that associates all comments with their respective posts. For
> example, if you were using JSON feeds, you would match a single
> comment's entry["thr$in-reply-to"].source with a single post's
> entry.link[i].href where link[i] has a "rel" attribute of "self". Good
> luck!
>

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Re: Archive feed not enabled

I see. If you continue running into dead ends trying to get it all at
once through an archive, it should be easy enough to create a coupler
function that associates all comments with their respective posts. For
example, if you were using JSON feeds, you would match a single
comment's entry["thr$in-reply-to"].source with a single post's
entry.link[i].href where link[i] has a "rel" attribute of "self". Good
luck!

On Sep 29, 9:00 pm, Jeremy <jeremyle...@yahoo.com> wrote:
> Hi Aratina,
>
> Thanks for the quick response.  I am able to use the query params (max-
> results in particular) to pull all the entries, however as far as I
> can tell I can only retrieve either the posts (http://
> <blogName>.blogspot.com/feeds/posts/default?max-results=100000) or the
> comments (http://<blogName>.blogspot.com/feeds/comments/default?max-
> results=100000), but not both in the same feed, unless I get the
> archive XML which returns everything.
>
> Regards,
> Jeremy
>
> On Sep 29, 8:12 pm, Aratina Cage <aratina.c...@gmail.com> wrote:
>
>
>
> > Hi Jeremy. I wonder if you have had a chance to look over this
> > resource:
>
> >http://code.google.com/apis/gdata/docs/2.0/reference.html
>
> > I'm thinking that maybe you can add a query string to the end of the
> > feed address without having to go through archives. You could even do
> > something like get a single feed entry and parse it to find out the
> > total number of entries and then send out a new request to retrieve
> > them all (I remember reading that there is a limit, which I have not
> > confirmed, but you can ask for the entries by start-index using the
> > query string so in that case just ask multiple times with an updated
> > start-index on each one).
>
> > --Aratina

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Re: Archive feed not enabled

Hi Aratina,

Thanks for the quick response. I am able to use the query params (max-
results in particular) to pull all the entries, however as far as I
can tell I can only retrieve either the posts (http://
<blogName>.blogspot.com/feeds/posts/default?max-results=100000) or the
comments (http://<blogName>.blogspot.com/feeds/comments/default?max-
results=100000
), but not both in the same feed, unless I get the
archive XML which returns everything.

Regards,
Jeremy

On Sep 29, 8:12 pm, Aratina Cage <aratina.c...@gmail.com> wrote:
> Hi Jeremy. I wonder if you have had a chance to look over this
> resource:
>
> http://code.google.com/apis/gdata/docs/2.0/reference.html
>
> I'm thinking that maybe you can add a query string to the end of the
> feed address without having to go through archives. You could even do
> something like get a single feed entry and parse it to find out the
> total number of entries and then send out a new request to retrieve
> them all (I remember reading that there is a limit, which I have not
> confirmed, but you can ask for the entries by start-index using the
> query string so in that case just ask multiple times with an updated
> start-index on each one).
>
> --Aratina

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Re: Archive feed not enabled

Hi Jeremy. I wonder if you have had a chance to look over this
resource:

http://code.google.com/apis/gdata/docs/2.0/reference.html

I'm thinking that maybe you can add a query string to the end of the
feed address without having to go through archives. You could even do
something like get a single feed entry and parse it to find out the
total number of entries and then send out a new request to retrieve
them all (I remember reading that there is a limit, which I have not
confirmed, but you can ask for the entries by start-index using the
query string so in that case just ask multiple times with an updated
start-index on each one).

--Aratina

On Sep 29, 6:24 pm, Jeremy <jeremyle...@yahoo.com> wrote:
> After some research, I'm guessing that Blogger sets the content-
> disposition response header to "attachment".  I'm not sure if there is
> a way around this when trying to programmatically export the content.
>
> Jeremy

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Re: Archive feed not enabled

After some research, I'm guessing that Blogger sets the content-
disposition response header to "attachment". I'm not sure if there is
a way around this when trying to programmatically export the content.

Jeremy

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Re: Archive feed not enabled

Clarification: When the URL http://<blogname>.blogspot.com/feeds/archive
is requested via the browser, the following message is displayed in
the browser:

"The feed specified by http://www.blogger.com/feeds/<feedId>/archive
is not enabled"

When I request this URL via the browser (using the actual id of my
blog instead of <feedId>, of course), that's when the Open/Save dialog
opens. I'm using Java to programmatically import the blog into a WCM
application. Due to limitations of the WCM app, I'd like to retrieve
the archive feed simply by making an HTTP request rather than using
Blogger's Java API.

Thanks,
Jeremy

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Archive feed not enabled

Hi,

My question is similar to the thread [1] posted last year which nobody
responded to. I'm trying to request an archive XML feed containing
all blog content using URL:

http://<blogname>.blogspot.com/feeds/archive

When requested manually in a browser, a dialog opens allowing me to
save or open the file. But when requested programmatically (via an
HttpURLConnection), I get a 404 Page Not Found error.

I was hoping I could request the archive feed similar to how I can
already pull the posts and comments. Any thoughts on how to do this?

Thanks,
Jeremy

[1] http://groups.google.com/group/bloggerdev/browse_thread/thread/1c29e222f69c1be9/6934fbc42c531640?lnk=gst&q=archive#6934fbc42c531640

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Re: Admin API?

Great idea, Jan! Such an API would be nice to have.

Especially wanted by me is some function to mark a comment as spam
through JavaScript. This would go a long way to allowing blog owners
to automate their handling of banned users and make the Blogger
platform much more powerful. As it is, the best we can do is wipe
banned users' comments on page load, but that does not remove them
from the comment feed so they continue to show up on recent comments
lists and on pop-up window comment forms and full-page comment forms.

Along those same lines, some kind of way to attach script into the
full-page comment form and pop-up window comment form would be very
useful for blog administrators in controlling who can comment on a
blog.

On Sep 29, 8:19 am, "Jan Zawadzki/ Hapara" <j...@hapara.com> wrote:
> Can anyone from Google comment on whether an Admin API is in the
> works?
>
> Looking for the ability to create / remove blogs, update permissions,
> and (as a bonus) manage blog settings.
>
> Interested in managing unified authentication accounts on a domain
> basis, rather than individual's blogs.
>
> Cheers
>
> J

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Admin API?

Can anyone from Google comment on whether an Admin API is in the
works?

Looking for the ability to create / remove blogs, update permissions,
and (as a bonus) manage blog settings.

Interested in managing unified authentication accounts on a domain
basis, rather than individual's blogs.

Cheers

J

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Cannot create or update posts using Java client library on a previously invitation-only blog

Hello

I use the Blogger Gdata Java client library to create a post, if none
is found with a specified title, or to edit an existing post (in order
to update a post I use for notifications). This works fine on a
publicly accessible blog where the authenticated user is an "author".
However, on a blog which was originally set to "invitation-only", with
exactly the same user having administrator privileges, neither
programmatic creation nor update works.

The error message was:

"Caused by: com.google.gdata.util.AuthenticationException:
Unauthorized
User does not have permission to create new post"

(I don't have the stack trace with me at the moment)

The reason why I suspect there might be a bug in the authentication
routines for invitation-only blogs is because there was another issue
posted in the forum about the fact that RSS feeds were not available
via the API for such blogs.

I have confirmed that I can create and edit posts in both blogs using
the authenticated user mentioned. Note that the authenticated user is
a Google Apps user *and* a Google Accounts user.

I can give more specific information about the usernames and blog URLs
privately to Google staff if this helps with the diagnosis.

Many thanks,
Frank

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Saturday, September 25, 2010

[bloggerDev] Query using categories in gdata-python-client

Trying to retrieve posts with categories filter:

categories = ["news"]
self.client = gdata.blogger.client.BloggerClient()
self.query = gdata.blogger.client.Query(categories=categories,
max_results=10, strict=True, order_by="updated")

but all I get is:

File "/Users/ondruska/Documents/kaibo-www/gdata/client.py", line
635, in get_feed
**kwargs)
File "/Users/ondruska/Documents/kaibo-www/gdata/client.py", line
320, in request
RequestError)
RequestError: Server responded with: 400, Invalid query
parameters:categories

If I change strict=False categories is ignored. Any idea what is wrong?

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Friday, September 24, 2010

[bloggerDev] Not able to post using Blogger API

When i post using Blogger API it does not respond with any error but
it also does not post to the specific feed or blog. But it respond
with http code '0'. Kindly help me debug the code.
Following is my code:

$authSubHeader = self::getAuthHeader("POST", $url, $token);

$xml = "<entry xmlns='http://www.w3.org/2005/Atom'>
<title type='text'>".urlencode($title)."</title>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/
xhtml'><p>".urlencode($body)."</p></div>
</content>
</entry>";


$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 4);
curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type:
application/atom+xml", "Content-Length: ".strlen($xml),
$authSubHeader, "$xml"));
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_UNRESTRICTED_AUTH, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);

$response = curl_exec ($ch);

curl_close ($ch);

Thanks in Advance

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Adding a description and keyword block in post editor section

I have a question regarding ----can blogger will able to Add a
description and keyword block in post editor section is it possible to
do it?
since this section if added will be so easy for bloggers for seo
optimization.

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Wednesday, September 22, 2010

[bloggerDev] Getting Invalid AuthSub Token Error 403

Hi, I am trying to authenticate my application using Blogger API but
when user grant access to the application and blogger api return the
token and the token i use to exchange by sending the request on
https://www.google.com/accounts/AuthSubSessionToken it return an error
called Error 403 Invalid AuthSub Token. Kindly help me in this regard
to debug the problem and solve it. Thanks in Advance

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Tuesday, September 21, 2010

[bloggerDev] Imported Posts-GONE

Hi,

Just imported .xml file from one Blogger blog to another Blogger blog
and the posts did not appear. The posts have not transferred as
neither drafts nor imported posts. I am clueless. I imported to
another blog in my dashboard successfully (using same .xml file).

If you have any tips or know of any settings that may need to be
changed, please reply.

Thanks

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Thursday, September 16, 2010

Re: [bloggerDev] Posting Blog Post with programmatic-ally defined Authors

According to the documentation this isn't doable. It always uses the
authenticated user.

On Sep 16, 2010, at 4:00 PM, Ken Perkins <kenjperkins@gmail.com> wrote:

> Hi all,
>
> I'm hoping to leverage the blogger api to expose a blog that is
> published by users within my web-app. I don't have an explicit
> guarantee that they will all have blogger/openid accounts, so I was
> hoping to impersonate them when I post to the blog via the .net API:
>
> Here's the code snippet:
>
> AtomEntry newPost = new AtomEntry();
> newPost.Title.Text = "Marriage!";
> newPost.Authors.Add(new AtomPerson(AtomPersonType.Author,
> "John Doe"));
> newPost.Content = new AtomContent();
> newPost.Content.Content = "<div xmlns='http://www.w3.org/
> 1999/xhtml'>" +
> "<p>Mr. Darcy has <em>proposed marriage</em> to me!</p>"
> +
> "<p>He is the last man on earth I would ever desire to
> marry.</p>" +
> "<p>Whatever shall I do?</p>" +
> "</div>";
> newPost.Content.Type = "xhtml";
>
> Uri blogFeedUri = new Uri(myBlog);
> AtomEntry createdEntry = s.Insert(blogFeedUri, newPost);
>
> The problem is that the post is stored as the authenticated user, and
> I'd prefer to be able to tell the API what "user" to show the content
> was authored from. Is this doable?
>
> --
> You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
> To post to this group, send email to bloggerdev@googlegroups.com.
> To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.
>

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Posting Blog Post with programmatic-ally defined Authors

Hi all,

I'm hoping to leverage the blogger api to expose a blog that is
published by users within my web-app. I don't have an explicit
guarantee that they will all have blogger/openid accounts, so I was
hoping to impersonate them when I post to the blog via the .net API:

Here's the code snippet:

AtomEntry newPost = new AtomEntry();
newPost.Title.Text = "Marriage!";
newPost.Authors.Add(new AtomPerson(AtomPersonType.Author,
"John Doe"));
newPost.Content = new AtomContent();
newPost.Content.Content = "<div xmlns='http://www.w3.org/
1999/xhtml
'>" +
"<p>Mr. Darcy has <em>proposed marriage</em> to me!</p>"
+
"<p>He is the last man on earth I would ever desire to
marry.</p>" +
"<p>Whatever shall I do?</p>" +
"</div>";
newPost.Content.Type = "xhtml";

Uri blogFeedUri = new Uri(myBlog);
AtomEntry createdEntry = s.Insert(blogFeedUri, newPost);

The problem is that the post is stored as the authenticated user, and
I'd prefer to be able to tell the API what "user" to show the content
was authored from. Is this doable?

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

http://creditors.subservientcow.com

Wednesday, September 15, 2010

[bloggerDev] Re: Adsense Ads and Blogger Gadget API

If anyone want to see a demo of this bug , here it is
http://adsensebugreport.blogspot.com/ :)

On Sep 16, 12:10 am, Aneesh <ane...@bloggerplugins.org> wrote:
> The new Adsense Ad units doesn't serve ads when the referring URL is a
> Gadget Iframe.  This only affects the new version of Adsense Ad codes.
> Old adsense ad codes serve ads when the referrer is a Gadget Iframe.
> This is another major problem with the Gadget API. Gadgets developed
> using the API become worthless if this prevails. This might be due to
> the really really huge Iframe URL generated by the API. It would be
> great, if  the Adsense Team could white-list the Gadget Iframes .
>
> This problem exists on all Gadgets developed using the Gadget API.

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Adsense Ads and Blogger Gadget API

The new Adsense Ad units doesn't serve ads when the referring URL is a
Gadget Iframe. This only affects the new version of Adsense Ad codes.
Old adsense ad codes serve ads when the referrer is a Gadget Iframe.
This is another major problem with the Gadget API. Gadgets developed
using the API become worthless if this prevails. This might be due to
the really really huge Iframe URL generated by the API. It would be
great, if the Adsense Team could white-list the Gadget Iframes .

This problem exists on all Gadgets developed using the Gadget API.

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Monday, September 13, 2010

[bloggerDev] Re: A Bug with the Gadget API.

This same problem hindered development of my Blogger Gadget, too (<a
href="http://aratina.blogspot.com/p/last-comments.html">Last Comments</
a>). I got around it in much the same way, by using strings (a painful
experience since strings trigger Internet Explorer's XSS filter when
filled in with default values) rather than lists and checkboxes, which
would have been preferrable and more user friendly. The skin parameter
names themselves are ridiculously oversized, and what's more, most of
them are simply wasting space (others that would be handy to have are
not even passed through, such as the visited link color).

However, I was under the impression that the extremely long skin
parameter passing was due to the requirement that we include
opensocial-07 or 08 if we want to utilize skins. That problem is
currently listed as a bug on the UI Best Practices page for Blogger
Gadgets ( http://code.google.com/apis/blogger/docs/gadgets/gadgets_for_blogger.html#BestUIPractices
) with a note that Google is working on a solution. I look forward to
the day it is corrected!

On Sep 9, 10:56 am, Aneesh <ane...@bloggerplugins.org> wrote:
> I have been playing around with Blogger Gadgets for a couple of weeks
> and ran into a bug which makes Gadget Creation more difficult.The
> Gadget API generates an iFrame URL which contains all the gadget
> options (parameter name and value), the url of the container, the url
> of the gadget xml file, the skin properties and many other stuff which
> makes it a pretty big url. IE wont render iframes which have too
> lengthy urls. If the length of the url  is too long, it will be
> rendered as a Google Error Page saying that the request uri  is too
> large. In order to make the url smaller, i have converted most of the
> user options to enum(so that the parameter is passed as a small
> integer) and also used single characters as the gadget option
> parameters in my gadget to reduce the length of the url.
>
> I had made this gadgethttp://www.blogger.com/add-gadget?url=http://bloggerplugins.org/scrip...
> and it has the same problem. This was made long back and i didn't know
> of this problem at that time. If f i had known of this i would have
> uploaded the gadget at some small url likehttp://bloggerplugins.org/1.xml
> It would have saved 70+ characters.
>
> I hope that you some one will look into the problem with the API. The
> iframe URL can be made much shorter if some unwanted parameters are
> not added onto the iframe url.
>    skin['FACE_SIZE'] = '32';
>     skin['HEIGHT'] = "200";
>     skin['TITLE'] = "Share it";
>     skin['BORDER_COLOR'] = "transparent";
>     skin['ENDCAP_BG_COLOR'] = "transparent";
>     skin['ENDCAP_TEXT_COLOR'] = "#000000";
>     skin['ENDCAP_LINK_COLOR'] = "#660000";
>     skin['ALTERNATE_BG_COLOR'] = "transparent";
>
>     skin['CONTENT_BG_COLOR'] = "transparent";
>     skin['CONTENT_LINK_COLOR'] = "#660000";
>     skin['CONTENT_TEXT_COLOR'] = "#000000";
>     skin['CONTENT_SECONDARY_LINK_COLOR'] = "#660000";
>     skin['CONTENT_SECONDARY_TEXT_COLOR'] = "#660000";
>     skin['CONTENT_HEADLINE_COLOR'] = "#660000";
>     skin['FONT_FACE'] = "normal normal 100% Trebuchet, Trebuchet MS,
> Arial, sans-serif";
> These are a set of Sample parameters that the API adds on to the
> Iframe URL . Out of these only CONTENT_LINK_COLOR , CONTENT_BG_COLOR ,
> and CONTENT_TEXT_COLOR are important for most Gadget Developers.With
> all these options , the generated url will be nearly 2k characters
> long.  If you want to test the condition, try inputting some really
> long text  into some text fields of any gadget developed using the
> Gadget API.

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Sunday, September 12, 2010

http://seventeen.subservientcow.com

[bloggerDev] how to retrieve blogs using GET request

I m developing blogger for andoid. It will make use of Google blogger
application only.
I have successfullt done authentication ,
but am not getting how to retrieve posts.

I need to know the exact format of GET request to be send to server.
please help me.

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Saturday, September 11, 2010

[bloggerDev] Re: Having your Blog be more searchable

Yes.
Additional meta-data as meta tags is one way to do it.
This is a short and easy tutorial on how to use meta-tags
<a href="http://googlegroups-designers.blogspot.com/2010/09/meta-tags-
where-and-how-to-insert-meta.html
"/>Meta-tags</a>


On Sep 10, 11:23 pm, CoOlBeAnS <broncsfan1...@netzero.com> wrote:
> Are there ways to add tags to our blog that will allow our blogs to
> hit higher on search engines?

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Friday, September 10, 2010

[bloggerDev] Having your Blog be more searchable

Are there ways to add tags to our blog that will allow our blogs to
hit higher on search engines?

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Re: [bloggerDev] Getting thumbnails from Blogger using Zend...

Use print_r to see what it returns. Much more helpful than the docs.

echo <pre>
print_r($entry);
echo </pre>

On Sep 10, 2010, at 9:03 AM, thisversion <jolyon2000@googlemail.com> wrote:

> I am really struggling with Zend - the documentation is very poor at
> explaning how to get the 'deep' information out of a feed entry. At
> present , I am trying to extract a thumbnail from the Blogger feed - i
> have managed to get the XML respones for a single post, but have no
> idea from this point on how to extract certain elements (particularly
> the thumbnail url). Could anyone help please?
>
> --
> You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
> To post to this group, send email to bloggerdev@googlegroups.com.
> To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.
>

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Getting thumbnails from Blogger using Zend...

I am really struggling with Zend - the documentation is very poor at
explaning how to get the 'deep' information out of a feed entry. At
present , I am trying to extract a thumbnail from the Blogger feed - i
have managed to get the XML respones for a single post, but have no
idea from this point on how to extract certain elements (particularly
the thumbnail url). Could anyone help please?

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] User profile image(avatar)

Hello, I'm using GData to get and display in my app all comments to a
blog entry and I want to display the user's profile image along with
the comment. Is there anyway to get the profile image of a user with
GData?
Thank you

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Thursday, September 9, 2010

[bloggerDev] A Bug with the Gadget API.

I have been playing around with Blogger Gadgets for a couple of weeks
and ran into a bug which makes Gadget Creation more difficult.The
Gadget API generates an iFrame URL which contains all the gadget
options (parameter name and value), the url of the container, the url
of the gadget xml file, the skin properties and many other stuff which
makes it a pretty big url. IE wont render iframes which have too
lengthy urls. If the length of the url is too long, it will be
rendered as a Google Error Page saying that the request uri is too
large. In order to make the url smaller, i have converted most of the
user options to enum(so that the parameter is passed as a small
integer) and also used single characters as the gadget option
parameters in my gadget to reduce the length of the url.

I had made this gadget
http://www.blogger.com/add-gadget?url=http://bloggerplugins.org/scripts/recent_posts_with_thumbnails_and_more_from_www.bloggerplugins.org.xml
and it has the same problem. This was made long back and i didn't know
of this problem at that time. If f i had known of this i would have
uploaded the gadget at some small url like http://bloggerplugins.org/1.xml
It would have saved 70+ characters.

I hope that you some one will look into the problem with the API. The
iframe URL can be made much shorter if some unwanted parameters are
not added onto the iframe url.
skin['FACE_SIZE'] = '32';
skin['HEIGHT'] = "200";
skin['TITLE'] = "Share it";
skin['BORDER_COLOR'] = "transparent";
skin['ENDCAP_BG_COLOR'] = "transparent";
skin['ENDCAP_TEXT_COLOR'] = "#000000";
skin['ENDCAP_LINK_COLOR'] = "#660000";
skin['ALTERNATE_BG_COLOR'] = "transparent";

skin['CONTENT_BG_COLOR'] = "transparent";
skin['CONTENT_LINK_COLOR'] = "#660000";
skin['CONTENT_TEXT_COLOR'] = "#000000";
skin['CONTENT_SECONDARY_LINK_COLOR'] = "#660000";
skin['CONTENT_SECONDARY_TEXT_COLOR'] = "#660000";
skin['CONTENT_HEADLINE_COLOR'] = "#660000";
skin['FONT_FACE'] = "normal normal 100% Trebuchet, Trebuchet MS,
Arial, sans-serif";
These are a set of Sample parameters that the API adds on to the
Iframe URL . Out of these only CONTENT_LINK_COLOR , CONTENT_BG_COLOR ,
and CONTENT_TEXT_COLOR are important for most Gadget Developers.With
all these options , the generated url will be nearly 2k characters
long. If you want to test the condition, try inputting some really
long text into some text fields of any gadget developed using the
Gadget API.

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Wednesday, September 8, 2010

Re: [bloggerDev] Comments


please check the feed burner setting. and the configuration of ip tracking   

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Tuesday, September 7, 2010

[bloggerDev] Comments

People are having problems leaving comments on my blog - can you help?
My blog address is: www.mykili2010adventure.blogspot.com. Thx!

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] Using widgets with gdata

Hi,

I'm using GData to retrieve blog posts from Blogger. My question is:
can i retrieve star rating for a blog post using GData? I haven't
found anything in the Blogger Docs but just to make sure is it
possible?

Thank you.

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Friday, September 3, 2010

[bloggerDev] Re: using Blogger as storage Engine

Adnan,

The Google Docs API would indeed be one option, and that's one of the
things Gabriel meant, but the other option might be more to your
liking:

<http://code.google.com/appengine/docs/python/datastore/> (That's in
Python, but will give you the general idea)

The very best option, though, depending on what else you want to do
with the stored information, might be the Google Storage system:

<http://code.google.com/apis/storage/>

That's still in limited beta, but you can sign up for the waiting
list; it's a pretty impressive service.

---Brendan O'Connor

On Aug 31, 9:39 pm, Adnan Siddiqi <kad...@gmail.com> wrote:
> do you mean Google docs API?
>
> /A
>
> On Wed, Sep 1, 2010 at 9:10 AM, Gabriel Hernandez <
>
> webspinner.gabr...@gmail.com> wrote:
> > I think you would probably be better off using the app engine datastore or
> > document api if the data is not a blog like publication event.
>
> > On Tue, Aug 31, 2010 at 9:07 PM, Adnan <kad...@gmail.com> wrote:
>
> >> Hi
>
> >> Can I use Blogger as an intermediate storage engine for an iPhone app
> >> which will be sending and reviving data ?
>
> >> Thanks
>
> >> /A
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Blogger Developer Group" group.
> >> To post to this group, send email to bloggerdev@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> bloggerdev+unsubscribe@googlegroups.com<bloggerdev%2Bunsubscribe@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/bloggerdev?hl=en.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Blogger Developer Group" group.
> > To post to this group, send email to bloggerdev@googlegroups.com.
> > To unsubscribe from this group, send email to
> > bloggerdev+unsubscribe@googlegroups.com<bloggerdev%2Bunsubscribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/bloggerdev?hl=en.
>
>

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

Thursday, September 2, 2010

Re: [bloggerDev] pointing custom domain to new server

You'd need to update your DNS with GoDaddy.

On Thu, Sep 2, 2010 at 2:09 PM, yetismith <yetismith@gmail.com> wrote:
My custom domain yetismith.com is registered with Godaddy. I need to
have it pointed to Vistaprint as I want to create a website there
using the same domain.
Can you help?

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.




--
-----
blog: http://tins.rklau.com/
twitter: http://twitter.com/rklau
voice: 650-456-3215



--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] pointing custom domain to new server

My custom domain yetismith.com is registered with Godaddy. I need to
have it pointed to Vistaprint as I want to create a website there
using the same domain.
Can you help?

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

[bloggerDev] pointing my custom domain to another server

I have a customer domain registered with GoDaddy. I would like to
point it to vistaprint where I want to create a new website using that
domain.
OI am very frusrated because I am unable to find a number to get help.
I have details from Vistaprint that you will need. I don't believe
this is something I can do myself.Appreciate if you could reply.
Thanks Carolyn Smith the domain is yetismith.com

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.