New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OLW 0.5.1.3 Does not update the list of labels for Blogger #214
Comments
Unfortunately, we had to move to a new Blogger service in order for users to be able to actually authenticate and use Blogger. Moving to that had its own downside in that it doesn't support getting a list of your blog's categories/labels. All we can do right now is provide you a space to write your own tags (comma separated). We are investigating how best to try and bring this back though. |
Thanks! I hope you can do it! |
@ScottIsAFool Did you try asking some of the devs at Blogger (or even Google) that helped with WLW, see if any of them would give info on this situation? I know it's a long shot, but any bit of information would be good. |
I believe @martinwoodward was planning to reach out. I don't know if anything came of it or whether he got any responses. |
Okay. I see 5.1.3's out, where to get? |
@Indy27 open live writer, leave it a minute, the restart it, that should give you the latest version. |
I haven't reached out yet to the Blogger team - will do now we have 0.5.1.3 out. @Indy27 the other way to force an update is to download again from http://openlivewriter.org. |
I'm not getting even the space to write own tags... it has only the Set post date. This is for Blogger blog. While it shows for WordPress blog. |
@vasudevG - sounds like you are not on 0.5.1.3 yet? (check in your about box). If you restart you should be upgraded or you can force an update by downloading again from http://openlivewriter.org |
I'm on 0.5.1.3 |
Wow. Very odd. Can you take a screen shot of the about box and also the blog capabilities dialog? Many thanks. |
So, response from Google Blogger team as follows: [unique list of labels] isn't something we currently expose through the API. I've asked the API team if this is something we could expose easily. In the mean time I suggest you go ahead with a scan and cache approach |
Which, basically, come up with our own invention...nice, Google. That can take, I don't know, weeks, even months depending on various factors. |
@martinwoodward And magically its appearing now :) |
What about the url |
@vhanla have you got a link to where that's referenced? |
@ScottIsAFool I'm not sure but I guess it is from Blogger's or Google Feed API 1.0, I suppose that old API is going to be deprecated, but I've also seen many third party widgets and tutorials that uses that old method. BTW there is also a widget from Blogger that lists labels, hope they will allow to list labels in the newer APIs. |
I think that API is already deprecated (hence the Blogger issues we had recently) |
For example, this is what google chrome releases blogspot page show given that url // API callback
cat({
"version": "1.0",
"encoding": "UTF-8",
"feed": {
"xmlns": "http://www.w3.org/2005/Atom",
"xmlns$openSearch": "http://a9.com/-/spec/opensearchrss/1.0/",
"xmlns$blogger": "http://schemas.google.com/blogger/2008",
"xmlns$georss": "http://www.georss.org/georss",
"xmlns$gd": "http://schemas.google.com/g/2005",
"xmlns$thr": "http://purl.org/syndication/thread/1.0",
"id": {
"$t": "tag:blogger.com,1999:blog-8982037438137564684"
},
"updated": {
"$t": "2015-12-23T07:11:51.489-08:00"
},
"category": [{
"term": "Dev updates"
}, {
"term": "Beta updates"
}, {
"term": "Chrome OS"
}, {
"term": "Stable updates"
}, {
"term": "Chrome Beta for Android"
}, {
"term": "Admin Console"
}, {
"term": "Chrome for Android"
}, {
"term": "Chrome for iOS"
}, {
"term": "Android WebView"
}, {
"term": "Chrome OS Management"
}, {
"term": "Chromecast Update"
}, {
"term": "Flash Player update"
}, {
"term": "Chrome Dev for Android"
}, {
"term": "dev update"
}, {
"term": "chrome"
}],
"title": {
"type": "text",
"$t": "Chrome Releases"
},
"subtitle": {
"type": "html",
"$t": "Release updates from the Chrome team"
},
"link": [{
"rel": "http://schemas.google.com/g/2005#feed",
"type": "application/atom+xml",
"href": "http:\/\/googlechromereleases.blogspot.com\/feeds\/posts\/summary"
}, {
"rel": "self",
"type": "application/atom+xml",
"href": "http:\/\/www.blogger.com\/feeds\/8982037438137564684\/posts\/summary?alt=json\u0026max-results=0"
}, {
"rel": "alternate",
"type": "text/html",
"href": "http:\/\/googlechromereleases.blogspot.com\/"
}, {
"rel": "hub",
"href": "http://pubsubhubbub.appspot.com/"
}],
"author": [{
"name": {
"$t": "laforge@chromium"
},
"uri": {
"$t": "http:\/\/www.blogger.com\/profile\/05995691326314939344"
},
"email": {
"$t": "noreply@blogger.com"
},
"gd$image": {
"rel": "http://schemas.google.com/g/2005#thumbnail",
"width": "16",
"height": "16",
"src": "http:\/\/img2.blogblog.com\/img\/b16-rounded.gif"
}
}],
"generator": {
"version": "7.00",
"uri": "http://www.blogger.com",
"$t": "Blogger"
},
"openSearch$totalResults": {
"$t": "1824"
},
"openSearch$startIndex": {
"$t": "1"
},
"openSearch$itemsPerPage": {
"$t": "0"
}
}
}); There is says version 1.0 |
Ah, interesting. Thanks for this, it might prove very useful. @willduff |
FYI - I know it's easy for the community to diss the Blogger team but they have been very responsive to us when we've asked for things and have always been very classy. I personally have nothing but good things to say about them. I'd be fine with us using an older API that appears to be working as a temporary measure until we have a better API or we've built an algorithm to extract the data from existing supported API's as long as we code around it defensively (i.e. work on the assumption that the API might stop working at some point and fail quietly rather than crash the entire app or give lots of scary warnings to the user). If someone wanted to take a go at doing it using the API above then this is where the logic would be called https://github.com/OpenLiveWriter/OpenLiveWriter/blob/master/src/managed/OpenLiveWriter.BlogClient/Clients/GoogleBloggerv3Client.cs#L312 |
@martinwoodward already on it ;) |
A WIP pull request is in #234 |
Wait, that ACTUALLY worked!? (or is that just Wordpress and y'all trying to fool us) But what I was going to say was that the one @vhanla posted was for the API 1.0 how would that work anyway? Did Microsoft and other desktop editors used the 1.0 version when Blogger went 2.0 and it somehow still worked, or what? Different problem but it really needs to be answered:
Is it a label issue or a character issue (character issue being that no more than 200 letters, which was the case if you was inputting labels WHILE MAKING A POST but not the case at the post/page menu) |
I'll do a check then, brb. |
@Indy27 if you remove the last category, does it work? |
Removed the last category. This HAS to be a character issue, which should not be happening unless you was labeling while making or editing a post. |
I'm beginning to suspect it's the Google API libraries we're using because there's nothing wrong (that I can see) with what we're doing. |
Just counted how many characters that image has and it's well over 200 characters. WLW never had that problem and I'm pretty sure the rest of the blog editors before the Blogger API switch either. |
You could give this a try but dunno if it'll work but, what if there was a way to drag-and-drop labels instead of manually checking a box, as a way to save time. |
So what would people prefer? For Writer to just remove any labels that take it over that limit? Or a warning before doing so? |
Maybe to remove any label that takes it over the limit. But there should be a way to take off the limit anyway. I remember a trick where at the Pages screen you can check a page and add up to 20 labels WITHOUT worrying about character limit. That trick still works today. Even WLW used that trick before the software 'died'. |
Testing now and find that opening an existing post with categories does not show the categories in OLW. |
Yeah @jtbworld is right. Tested this now, labels disappear when opening existing posts. Don't know if this was posts made before altering the labels code or what. |
Okay, so I made a draft post with labels, saved it to blogger, open new post, then went back to open the draft post. After getting past the 'Unable to Retrieve from Server' crap, it opened the post with same labels I gave it, so yeah, any saved posts containing labels you guys did before the category fix will show up without them. |
Thanks @Indy27 - are you still getting that error message with 0.5.1.4? |
@jtbworld Sorry, I should have updated my post with a newer installer https://ci.appveyor.com/api/buildjobs/19jjjw36d5kadqai/artifacts/Releases/OpenLiveWriterSetup.exe That is fixed. |
Had you been trying the category fix? |
How to applay category fix? |
How to completely remove OLW with all settings? Where OLW keep settings? |
Thanks @Indy27 - are you still getting that error message with 0.5.1.4? Don't know cuz I'm still at 5.1.3 and neither the setup.exe to the main site nor appveyor upgrades to the new version nor the OLW I have now auto-update. |
Okay, never mind, it auto-updated when I click it in the Start Menu. |
Tried 514, few problems:
|
@Indy27 you wont have the fixed labels unless you use the installer I mentioned earlier. What's the exact error you're getting for the retrieving from server error? can you post your log file? |
Thank you very much @ScottIsAFool for fixing this issue! You'll see this functionality in Open Live Writer the next time we push out an official version. It was fixed with pull request #234 - Support Blogger categories. |
Thanks go to @vhanla for finding that endpoint to use :) |
thanks for the fix!! |
Even when you press the refresh button , the list of labels is not loaded. I use blogger service.
The text was updated successfully, but these errors were encountered: