|
List Info
Thread: Problem with API when looking for other blog not mine
|
|
| Problem with API when looking for other
blog not mine |
  United States |
2007-10-10 05:15:15 |
Hi at all,
I developing an application to make some studies on blog, I
read all
the material about your blogger API and I start to develop
an
application that collect a set of user Id (that I find
looking for
www.blogger.com/profile/userId), and from this number start
looking
for blogID. Following the instructions I write the java
code:
try {
String METAFEED_URL = "http://www.blogger.com/
feeds/"+profileID+"/blogs";
final URL feedUrl = new URL(METAFEED_URL);
try{
+Feed resultFeed =
myService.getFeed(feedUrl,
Feed.class);
if (resultFeed.getEntries().size() > 0){
Entry entry =
resultFeed.getEntries().get(0);
String blogId =
entry.getId().split("blog-")[1];
System.out.println("BlogId:
"+blogId);
}
}catch (Exception e){
System.out.println("Errore nella
gestione dei feed:
"+e.getMessage());
}
} catch (MalformedURLException ex) {
System.out.println("Errore nella
ricerca del blog
id");
System.out.println("Eccezione :
"+ex.getMessage());
}
This function get an external profileId, so not the mine
indicated
with "default" and look for blogID referrend to
this user. The line of
the code signed with "+" lunch an exception that I
catch but that
doesn't have to apper. This exception apperar every 2 or
three
profileID and is an "Internal Server Error" that
google sent to me. If
I look in my browser for that code I see that exist so
anyone can tell
me where is the problem? Is it in the API or in my code
(that is
copyed from the tutorial)?
Cheers
Max
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Blogger Data API" 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: Problem with API when looking for
other blog not mine |
  United States |
2007-10-11 02:16:50 |
The blogger error returned to me is bX-3msgvg; I hope that
this
indication can help someone to unferstand what is the
problem..
Thanks
Max
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Blogger Data API" 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: Problem with API when looking for
other blog not mine |
  United States |
2007-10-11 17:42:01 |
On Oct 10, 3:15 am, gioMax <gio... gmail.com> wrote:
> Hi at all,
> I developing an application to make some studies on
blog, I read all
> the material about your blogger API and I start to
develop an
> application that collect a set of user Id (that I find
looking forwww.blogger.com/profile/userId), and from this
number start looking
> for blogID. Following the instructions I write the java
code:
> try {
> String METAFEED_URL = "http://www.blogger.com/
> feeds/"+profileID+"/blogs";
> final URL feedUrl = new
URL(METAFEED_URL);
> try{
> +Feed resultFeed =
myService.getFeed(feedUrl,
> Feed.class);
> if (resultFeed.getEntries().size() >
0){
> Entry entry =
resultFeed.getEntries().get(0);
> String blogId =
entry.getId().split("blog-")[1];
> System.out.println("BlogId:
"+blogId);
> }
> }catch (Exception e){
> System.out.println("Errore
nella gestione dei feed:
> "+e.getMessage());
> }
> } catch (MalformedURLException ex) {
> System.out.println("Errore nella
ricerca del blog
> id");
> System.out.println("Eccezione :
"+ex.getMessage());
> }
>
> This function get an external profileId, so not the
mine indicated
> with "default" and look for blogID referrend
to this user. The line of
> the code signed with "+" lunch an exception
that I catch but that
> doesn't have to apper. This exception apperar every 2
or three
> profileID and is an "Internal Server Error"
that google sent to me. If
> I look in my browser for that code I see that exist so
anyone can tell
> me where is the problem? Is it in the API or in my code
(that is
> copyed from the tutorial)?
>
> Cheers
> Max
The code you posted looks fine. What were some of the
profile IDs that
failed?
Thank you,
Jeff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Blogger Data API" 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: Problem with API when looking for
other blog not mine |
  United States |
2007-10-14 07:24:42 |
I'm collecting the list of the profile Id that give me this
error.
I'll post it soon.
For example, go to this link:
http://ww
w.blogger.com/feeds/12822857/blogs
Do you get an error? This in one of the profile Id that give
problem.
Looking at this link via browser I get this error
bX-3msgvg.
Thanks for the help..
Max
On 12 Ott, 00:42, Jeff Scudder <j... google.com> wrote:
> On Oct 10, 3:15 am, gioMax <gio... gmail.com> wrote:
>
>
>
> > Hi at all,
> > I developing an application to make some studies
on blog, I read all
> > the material about your blogger API and I start to
develop an
> > application that collect a set of user Id (that I
find looking forwww.blogger.com/profile/userId), and from
this number start looking
> > for blogID. Following the instructions I write the
java code:
> > try {
> > String METAFEED_URL = "http://www.blogger.com/
> > feeds/"+profileID+"/blogs";
> > final URL feedUrl = new
URL(METAFEED_URL);
> > try{
> > +Feed resultFeed =
myService.getFeed(feedUrl,
> > Feed.class);
> > if (resultFeed.getEntries().size()
> 0){
> > Entry entry =
resultFeed.getEntries().get(0);
> > String blogId =
entry.getId().split("blog-")[1];
> >
System.out.println("BlogId: "+blogId);
> > }
> > }catch (Exception e){
> > System.out.println("Errore
nella gestione dei feed:
> > "+e.getMessage());
> > }
> > } catch (MalformedURLException ex) {
> > System.out.println("Errore
nella ricerca del blog
> > id");
> > System.out.println("Eccezione
: "+ex.getMessage());
> > }
>
> > This function get an external profileId, so not
the mine indicated
> > with "default" and look for blogID
referrend to this user. The line of
> > the code signed with "+" lunch an
exception that I catch but that
> > doesn't have to apper. This exception apperar
every 2 or three
> > profileID and is an "Internal Server
Error" that google sent to me. If
> > I look in my browser for that code I see that
exist so anyone can tell
> > me where is the problem? Is it in the API or in my
code (that is
> > copyed from the tutorial)?
>
> > Cheers
> > Max
>
> The code you posted looks fine. What were some of the
profile IDs that
> failed?
>
> Thank you,
>
> Jeff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Blogger Data API" 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: Problem with API when looking for
other blog not mine |
  United States |
2007-10-14 09:14:26 |
Here there are "some" of the profile ID that give
me the error. If you
want I can send you the entire list (more ore less 800
entries):
2008227
1
5655996
12822857
1687645
5274120
3133906
1302449
1168616
3848119
4371683
10992009
14064485
5341915
21311584
15085
7472740
636993
282713
856838
4309148
501409
9820432
7483101
977506
2074287
10932918
11854854
4129658
857518
3281728
120805
15034099
4522032
493944
710810
3679700
Thanks
Max
On 12 Ott, 00:42, Jeff Scudder <j... google.com> wrote:
> On Oct 10, 3:15 am, gioMax <gio... gmail.com> wrote:
>
>
>
> > Hi at all,
> > I developing an application to make some studies
on blog, I read all
> > the material about your blogger API and I start to
develop an
> > application that collect a set of user Id (that I
find looking forwww.blogger.com/profile/userId), and from
this number start looking
> > for blogID. Following the instructions I write the
java code:
> > try {
> > String METAFEED_URL = "http://www.blogger.com/
> > feeds/"+profileID+"/blogs";
> > final URL feedUrl = new
URL(METAFEED_URL);
> > try{
> > +Feed resultFeed =
myService.getFeed(feedUrl,
> > Feed.class);
> > if (resultFeed.getEntries().size()
> 0){
> > Entry entry =
resultFeed.getEntries().get(0);
> > String blogId =
entry.getId().split("blog-")[1];
> >
System.out.println("BlogId: "+blogId);
> > }
> > }catch (Exception e){
> > System.out.println("Errore
nella gestione dei feed:
> > "+e.getMessage());
> > }
> > } catch (MalformedURLException ex) {
> > System.out.println("Errore
nella ricerca del blog
> > id");
> > System.out.println("Eccezione
: "+ex.getMessage());
> > }
>
> > This function get an external profileId, so not
the mine indicated
> > with "default" and look for blogID
referrend to this user. The line of
> > the code signed with "+" lunch an
exception that I catch but that
> > doesn't have to apper. This exception apperar
every 2 or three
> > profileID and is an "Internal Server
Error" that google sent to me. If
> > I look in my browser for that code I see that
exist so anyone can tell
> > me where is the problem? Is it in the API or in my
code (that is
> > copyed from the tutorial)?
>
> > Cheers
> > Max
>
> The code you posted looks fine. What were some of the
profile IDs that
> failed?
>
> Thank you,
>
> Jeff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Blogger Data API" 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: Problem with API when looking for
other blog not mine |

|
2007-10-15 14:03:28 |
On 10/14/07, gioMax <giomax gmail.com> wrote:
>
> I'm collecting the list of the profile Id that give me
this error.
> I'll post it soon.
> For example, go to this link:
> http://ww
w.blogger.com/feeds/12822857/blogs
>
> Do you get an error? This in one of the profile Id that
give problem.
> Looking at this link via browser I get this error
bX-3msgvg.
Those profile IDs are from old Blogger accounts. It looks
like we're
not doing a good job detecting those or handling the
redirect.
What you can do is grab the profile page, e.g.:
http://www.blogger.c
om/profile/1
and look in the <head> for the <link
rel="alternate">, which will
point to the correct metafeed.
-- Pete
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Blogger Data API" 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: Problem with API when looking for
other blog not mine |
  United States |
2007-10-16 02:28:51 |
Ok thanks for the reply...your suggestion seems difficoult
to
implement easly, but I think on how I can use it. If you
want I can
send you a list with more than 800 entries that give
problem.
Cheers
Max
On 15 Ott, 21:03, "Pete Hopkins ☠"
<phopk... google.com> wrote:
> On 10/14/07, gioMax <gio... gmail.com> wrote:
>
>
>
> > I'm collecting the list of the profile Id that
give me this error.
> > I'll post it soon.
> > For example, go to this link:
> >http://ww
w.blogger.com/feeds/12822857/blogs
>
> > Do you get an error? This in one of the profile Id
that give problem.
> > Looking at this link via browser I get this error
bX-3msgvg.
>
> Those profile IDs are from old Blogger accounts. It
looks like we're
> not doing a good job detecting those or handling the
redirect.
>
> What you can do is grab the profile page, e.g.:
>
> http://www.blogger.c
om/profile/1
>
> and look in the <head> for the <link
rel="alternate">, which will
> point to the correct metafeed.
>
> -- Pete
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Blogger Data API" 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
-~----------~----~----~----~------~----~------~--~---
|
|
[1-7]
|
|