.weblog engine
FAQ :: Search ::  Memberlist ::  Register :: Profile ::  Usergroups ::  Log in
Log in to check your private messages ::  Download Pivot :: Support Pivot | Info
Support Pivot with a donation today. Get more information here!
Post to Pivot from a Desktop App
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic   printer-friendly view    Pivot Support Forum Index -> Extension Discussion & Development
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sat Aug 06, 2005 8:04 am    Post subject: Re: Post to Pivot from a Desktop App Reply with quote

Ah - no I didn't, didn't read it all that wel: I saw "I'll try to get the modified version uploaded tomorrow." (posted a while ago), so I thought it was allready fixed.

I'll make the changes in metaweblogscript, do I have to download (install) a patch as well?

Thx for your help! I'll be away for one week but I'm back to work on this as soon as I get back!
Back to top
Tenshi
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 12 Apr 2003
Posts: 1598
Location: Enschede, The Netherlands

PostPosted: Sat Aug 06, 2005 8:19 am    Post subject: Re: Post to Pivot from a Desktop App Reply with quote

First install the XML/RPC patch from the pivot team, see the www.pivotlog.net and scroll down a bit. And then edit your metaweblog.php file.
_________________
bramn - When just a first name is not enough!
Back to top
View user's profile Send private message MSN Messenger
neezee
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 27 Sep 2003
Posts: 973
Location: Marcipan-City (Lübeck), Germany

PostPosted: Sun Aug 07, 2005 7:20 pm    Post subject: Re: Post to Pivot from a Desktop App Reply with quote

As I finally get ecto to work (*narf*) I do get this response on one of the latest installs of Pivot, updated XML patch and changed as post above stated

Using ecto 1.7.7

---------------------------
Fehler
---------------------------
Response from server does not contain valid XML.
---------------------------
OK
---------------------------

any ideas? URL for metaweblog is
http://einfach-pragmatisch.de/pivot/metaweblog.php

_________________
englisch blog | german blog| geschenkideen zu weihnachten
Back to top
View user's profile Send private message
catarina76
Sub Minion of Pivot Groupie-Ness
Sub Minion of Pivot Groupie-Ness


Joined: 03 Aug 2005
Posts: 21
Location: Karlstad, Sweden

PostPosted: Mon Aug 15, 2005 7:57 pm    Post subject: Re: Post to Pivot from a Desktop App Reply with quote

I posted earlier about my problems whith swedish characters when posting from Flickr.

I thought I'd figured it out and that it was an encoding problem. It seems that Flickr uses UTF-8 and I didn't.
But after changing and converting my entries to UTF-8 it still doesn't work. I get question marks in my Pivot-blog instead of swedish å ä and ö, when posting from Flickr.

What do you think, Flickr or Pivot?
Back to top
View user's profile Send private message MSN Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Tue Aug 16, 2005 1:20 am    Post subject: Re: Post to Pivot from a Desktop App Reply with quote

catarina76 - I guess it's neither. If you have switched language as described in my latest post in the UTF-8 thread, Pivot should be fine. I don't think a high-profile thing like Flickr is wrong.

This is most likely a server issue. First check what encoding your browser is using - I guess you'll find that it still uses ISO-8859-1. This is because most Apache webserver has this as the default charset - adding "AddDefaultCharset Off" to your .htaccess file might fix it, it did for me.

PS! It would have been a million times easier to help if we could test/see your blog...

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
catarina76
Sub Minion of Pivot Groupie-Ness
Sub Minion of Pivot Groupie-Ness


Joined: 03 Aug 2005
Posts: 21
Location: Karlstad, Sweden

PostPosted: Tue Aug 16, 2005 8:08 am    Post subject: Re: Post to Pivot from a Desktop App Reply with quote

hansfn wrote:
catarina76 - I guess it's neither. If you have switched language as described in my latest post in the UTF-8 thread, Pivot should be fine. I don't think a high-profile thing like Flickr is wrong.

You have a point there.

Quote:
This is most likely a server issue. First check what encoding your browser is using - I guess you'll find that it still uses ISO-8859-1. This is because most Apache webserver has this as the default charset - adding "AddDefaultCharset Off" to your .htaccess file might fix it, it did for me.

I'm not sure how to check my browser for that (firefox mainly). After rebuilding my entries with your script, it has no problem showing things correctly, except when posted from Flickr. I checked in IE now and there it looks even worse.
I tried adding that to my .htaccess file with no result. But I'm not sure if I did it correctly of course. I'm no pro at this at all.

Quote:
PS! It would have been a million times easier to help if we could test/see your blog...

Oh, I didn't post at link to my blog in my message because I have one in my profile. Sorry! Link to my blog
Back to top
View user's profile Send private message MSN Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Tue Aug 16, 2005 8:26 am    Post subject: Re: Post to Pivot from a Desktop App Reply with quote

OK, your blog uses UTF-8 - no problem there. (I'm glad the conversion worked - do you mind posting that fact in the UTF-8 thread?)

I have two more suggestions:
1) The Pivot user that you use for the metaweblog, still don't use UTF-8 as charset.
2) The charset is undefined (and hence defaults to IS0-8859-1) in metaweblog.php.

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
catarina76
Sub Minion of Pivot Groupie-Ness
Sub Minion of Pivot Groupie-Ness


Joined: 03 Aug 2005
Posts: 21
Location: Karlstad, Sweden

PostPosted: Tue Aug 16, 2005 8:57 am    Post subject: Re: Post to Pivot from a Desktop App Reply with quote

hansfn wrote:
I have two more suggestions:
1) The Pivot user that you use for the metaweblog, still don't use UTF-8 as charset.
2) The charset is undefined (and hence defaults to IS0-8859-1) in metaweblog.php.

1) Thats not it. I made sure to change to UTF-8 in every place I could think of and rechecked. I checked again now and the user I use for the metaweblog is set to UTF-8.

2) Maybe, but I have no way of checking this for myself. Php could just as well be written in chinese when you ask me unfortunately Confused My metaweblog.php file looks like this, if thats any help?

And sure, I'll post about my success with your script Smile
Back to top
View user's profile Send private message MSN Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Fri Dec 09, 2005 4:35 pm    Post subject: Re: Post to Pivot from a Desktop App Reply with quote

OK, I have just checked and the latest metaweblog.php has two errors (related to changes in xmlrpc). I'll commit the fixed code to SVN (so it works in the next beta) on Monday. If you can't wait until the next beta, download the code from
http://home.himolde.no/~nordhaug/development/pivot/metaweblog.zip
I tested it with Flock and it worked.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
madjo
Pivot Team
<b>Pivot Team</b> <!-- Moderator -->


Joined: 11 Sep 2002
Posts: 10450
Location: Netherlands

PostPosted: Fri Dec 09, 2005 8:03 pm    Post subject: Re: Post to Pivot from a Desktop App Reply with quote

nice one Hans!
_________________
Forum search / Pivot Manual / Also visit MyPivot.net
Firefox pivot search
How to sponsor us
Click here for Dutch support
Back to top
View user's profile Send private message Send e-mail MSN Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Fri Dec 16, 2005 6:46 am    Post subject: Re: Post to Pivot from a Desktop App Reply with quote

I have something even nicer - auto discovery / detection of the metaweblog API in tools like Flock. In the file modules/module_snippets.php add
Code:
function snippet_blogapi_autodiscovery() {
        global  $Weblogs, $Current_weblog, $Paths;

        $filname = basename($Weblogs[$Current_weblog]['front_filename'],'.php');
        $filename = $Weblogs[$Current_weblog]['rss_path'].'rsd-'.$filname.'.xml';
        $rsdfilename = fixpath($Paths['pivot_dir'].$filename);
        $rsdurl = fixpath($Paths['pivot_url'].$filename);
        // Some desktop blogging tools (Flock at least) needs to know the host explicitly...
        $rsdurl = $Paths['host'].$rsdurl;
        $blogurl = $Paths['host'].snippet_home();
        $blogapiurl = $Paths['host'].$Paths['pivot_url'].'metaweblog.php';
        $output = '<?xml version="1.0"?>
<rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
    <service>
        <engineName>Pivot</engineName>
        <engineLink>http://pivotlog.net/</engineLink>
        <homePageLink>'.$blogurl.'</homePageLink>
        <apis>
            <api name="MetaWeblog" preferred="true"
                apiLink="'.$blogapiurl.'"
                blogID="'.$blogurl.'"/>
        </apis>
    </service>
</rsd>';

        write_file($filename, $output);

        $output = '<link rel="EditURI" type="application/rsd+xml" title="RSD" href="'.$rsdurl.'">';

        return $output;
}

Then add "[[blogapi_autodiscovery]]" together with " [[rss_autodiscovery]]" in the frontpage template. Finally in Flock when blogging you can just give the URL to the frontpage of your blog and all settings are discovered/detected automatically. I have tested with Flock and it work like a charm. If someone wants to test with other blog tools (like Fickr), I would be very happy.

This is checked in our SVN and will be part of the next beta.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Wed Jan 04, 2006 9:12 am    Post subject: Re: Post to Pivot from a Desktop App Reply with quote

Just some more info. Someone requested support for trackbacks in Metaweblog. This isn't defined in the API. It *can* be added through namespace and so on, but noone really does it. Maybe someone wants to write an Atom API which is supposed to be much better?

Some references:
RFC: MetaWeblog API
RFC: Support for other namespaces in MetaWeblog API
The Atom API (about the problems with Blogger and Metaweblog API)
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
morpurgo.nl
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 26 Jan 2005
Posts: 401
Location: Amsterdam, The Netherlands

PostPosted: Sat Jan 21, 2006 7:42 am    Post subject: Posting from Writely.com with API Reply with quote

Hi all,

I have used w.blogger and thats a nice tool but i wanted to blog from where ever i am without having to login in Pivot. I played with Writely and i made a post to my blog true you metaweblog API but i cant select the default category. If i post it takes, i think, the first one om alphabetic order so with the A.

Does anyone knows how to solve this problem?

_________________
Using Pivot 1.40.4: 'Dreadwind'
Back to top
View user's profile Send private message MSN Messenger
morpurgo.nl
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 26 Jan 2005
Posts: 401
Location: Amsterdam, The Netherlands

PostPosted: Sat Jan 21, 2006 8:52 am    Post subject: Re: Posting from Writely.com with API Reply with quote

morpurgo.nl wrote:
Hi all,

I have used w.blogger and thats a nice tool but i wanted to blog from where ever i am without having to login in Pivot. I played with Writely and i made a post to my blog true you metaweblog API but i cant select the default category. If i post it takes, i think, the first one om alphabetic order so with the A.

Does anyone knows how to solve this problem?


Ha found it myself!

Here is how it works:


And here the final entry:
http://www.morpurgo.nl/pivot/entry.php?id=787

_________________
Using Pivot 1.40.4: 'Dreadwind'


Last edited by morpurgo.nl on Sun Jan 22, 2006 7:49 am; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
morpurgo.nl
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 26 Jan 2005
Posts: 401
Location: Amsterdam, The Netherlands

PostPosted: Mon Jan 30, 2006 12:30 pm    Post subject: performancing blog tool Reply with quote

This API works also great with performancing 1.1 straight from the Firefox extension.

http://performancing.com/

http://performancing.com/firefox/

_________________
Using Pivot 1.40.4: 'Dreadwind'
Back to top
View user's profile Send private message MSN Messenger
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    Pivot Support Forum Index -> Extension Discussion & Development All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 4 of 7
|
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Your generosity is appreciated!
Gambling News was the last to make a donation
:: go here for sponsorship information ::
Special thanks to our platinum sponsors: Gambling News  
DreamHost

powered by phpBB | RSS Feed