Recent Topics

Posting Flickr photos to b2evolution blog

Started by on Jul 31, 2009 – Contents updated: Jul 31, 2009

Jul 31, 2009 15:50    

When you have a Flickr account and you want to set up your blog information to post pictures to, you have to choose from a list among which you find e.g. blogger, typepad, movable type, livejournal, wordpress, manila, atom enabled, blogger API enabled, metaweblogAPI enabled, vox and twitter blog.
B2evolution is not on the list or in any case I don't see how to integrate it in Flickr and this is a pity because I wanted to refer to my photoblog to illustrate webpages that are still without my own images.

Jul 31, 2009 17:59

Hi

I have this set up on my blog. I kind of followed this thread:

http://forums.b2evolution.net/viewtopic.php?t=4528

It is quite old now so a little confusing in places. Maybe I should write an updated version.

You will need to select 'BloggerAPI' as the type of blog you need. The endpoint is /xmlsrv/xmlrpc.php so in your case I guess this would be:

http://blog.ghanatrot.be/blogs/xmlsrv/xmlrpc.php

The one thing you have to be careful of is that the default flickr layout for the posts it creates includes css styles. By default b2evo refuses posts with these type of things in so I just created a very basic layout like this:

<title>{photo_title}</title>

<a href="{photo_url}" title="{photo_title}"><img src="{photo_src}"  alt="{photo_title}" /></a>
<br />
<p>
{description}
</p>

If you leave the styles in flickr will report an error but not tell you why.

L

Jul 31, 2009 18:01

Always posting at the same time as ¥åßßå but I always come in second :)

Jul 31, 2009 18:32

Do you mean I can destroy directories:

doc
gettext

and all the files as index.de-DE.html
(for each language)

Question

It would be as I really want it but the installation made it like this.

Jul 31, 2009 18:37

The only files you need for b2evo to work are the files in the blogs folder.

Jul 31, 2009 18:45

goalsurfer wrote:

Do you mean I can destroy directories:

doc
gettext

and all the files as index.de-DE.html
(for each language)

Yes

goalsurfer wrote:

Question

It would be as I really want it but the installation made it like this.

It's pretty much as simple as ... delete the above stuff, then copy all files && folders in /blogs/ up a directory, then goto /conf/_basic_config.php and change the line that reads $baseurl = 'http://blog.ghanatrot.be/blogs/'; to read $baseurl = 'http://blog.ghanatrot.be/';

If that doesn't make sense, take a backup before starting ;)

¥

Jul 31, 2009 18:45

Hi, it worked with MetaWeblogAPI.
There is an error with the selection "Blogger API enabled blog". I told it in the forum there.

Jul 31, 2009 18:48

goalsurfer wrote:

Hi, it worked with MetaWeblogAPI.
There is an error with the selection "Blogger API enabled blog". I told it in the forum there.

¥åßßå wrote:

try metaweblogapi

¥

¥åßßå wrote:

assuming it use xmlrpc http://blog.ghanatrot.be/blogs/xmlsrv/xmlrpc.php

¥

lturner wrote:

Always posting at the same time as ¥åßßå but I always come in second :)

¥åßßå wrote:

Concise wins ;)

¥

3rd even :D

¥

Jul 31, 2009 19:05

Bugger ! And I thought my last reply was pretty concise :D

Not sure why it would have thrown an error with blogger API enabled blog as that is what I have mine set to and it works fine. Glad you got it working though

L

Jul 31, 2009 19:45

Me neither, I just struck lucky ;)

¥

Aug 02, 2009 23:43

Hey sorry, but it was only the Flickr testing that worked.
They send a post which contains no image. When I try to send an image it fails.

I can't try out it with 'Blogger API enabled' as this gives an error message on Flickr.

Aug 03, 2009 11:34

What template are you using to post through to you blog? I had the same problem when I first tried and it was due to all the css styles in the template. See above for the template I use. Try that one and see if that solves the problem.

L


Form is loading...

Free CMS – This forum is powered by b2evolution CMS, a complete engine for your website.