<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments for Yabfog</title>
	<atom:link href="http://yabfog.com/blog/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://yabfog.com/blog</link>
	<description>Yet another blog full of gas</description>
	<lastBuildDate>Wed, 22 Jul 2009 20:13:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on XMPP vCard Python Script by Dan</title>
		<link>http://yabfog.com/blog/2009/06/03/xmpp-vcard-python-script/comment-page-1#comment-57846</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 22 Jul 2009 20:13:02 +0000</pubDate>
		<guid isPermaLink="false">http://yabfog.com/blog/?p=231#comment-57846</guid>
		<description>I did notice a typo on the get_mime_type function, but as for gmail, like I said, I don&#039;t know if it works. Sounds like maybe not. Google Talk certainly supports vcard avatars, but maybe you can&#039;t set it from outside the GMail or Google Talk service.</description>
		<content:encoded><![CDATA[<p>I did notice a typo on the get_mime_type function, but as for gmail, like I said, I don't know if it works. Sounds like maybe not. Google Talk certainly supports vcard avatars, but maybe you can't set it from outside the GMail or Google Talk service.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on XMPP vCard Python Script by Needz</title>
		<link>http://yabfog.com/blog/2009/06/03/xmpp-vcard-python-script/comment-page-1#comment-57841</link>
		<dc:creator>Needz</dc:creator>
		<pubDate>Wed, 22 Jul 2009 04:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://yabfog.com/blog/?p=231#comment-57841</guid>
		<description>I have realized that by simply switching the order of these two statements:
&quot;   send_vcard(cl, base64_img(img), get_mime_type(file), j.getNode())
    send_presence(cl, &#039;Updated vCard Image&#039;, hash_img(img), j.getNode())
&quot;
The code will run smoothly and update the vcard photo on jabber accounts.

However it does not work for gmail accounts. For gmail, the log in process is a little different, and when I do that, it doesn&#039;t work anymore. Does gmail support Vcards?</description>
		<content:encoded><![CDATA[<p>I have realized that by simply switching the order of these two statements:<br />
"   send_vcard(cl, base64_img(img), get_mime_type(file), j.getNode())<br />
    send_presence(cl, 'Updated vCard Image', hash_img(img), j.getNode())<br />
"<br />
The code will run smoothly and update the vcard photo on jabber accounts.</p>
<p>However it does not work for gmail accounts. For gmail, the log in process is a little different, and when I do that, it doesn't work anymore. Does gmail support Vcards?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on XMPP vCard Python Script by Needz</title>
		<link>http://yabfog.com/blog/2009/06/03/xmpp-vcard-python-script/comment-page-1#comment-57832</link>
		<dc:creator>Needz</dc:creator>
		<pubDate>Tue, 21 Jul 2009 02:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://yabfog.com/blog/?p=231#comment-57832</guid>
		<description>Yes, I have hard-coded it, and have had to make a few changes. That problem does not occur anymore.
I have been debugging and for some reason it will only accept a png file, strange, but now the problem is the following:
&quot;&quot;&quot;
Traceback (most recent call last):
  File &quot;C:\Users\Nida\Documents\CMPT 275\vcard.py&quot;, line 86, in 
    send_presence(cl, &#039;Updated vCard Image&#039;, hash_img(img), j.getNode())
  File &quot;C:\Users\Nida\Documents\CMPT 275\vcard.py&quot;, line 71, in send_presence
    conn.send(presence)
  File &quot;C:\Python26\lib\site-packages\xmpppy-0.5.0rc1-py2.6.egg\xmpp\dispatcher.py&quot;, line 367, in send
    self._owner_send(stanza)
  File &quot;C:\Python26\lib\site-packages\xmpppy-0.5.0rc1-py2.6.egg\xmpp\transports.py&quot;, line 195, in send
    self._owner.disconnected()
  File &quot;C:\Python26\lib\site-packages\xmpppy-0.5.0rc1-py2.6.egg\xmpp\client.py&quot;, line 129, in disconnected
    for i in self.disconnect_handlers: i()
  File &quot;C:\Python26\lib\site-packages\xmpppy-0.5.0rc1-py2.6.egg\xmpp\client.py&quot;, line 137, in DisconnectHandler
    raise IOError(&#039;Disconnected from server.&#039;)
IOError: Disconnected from server.
&quot;&quot;&quot;

I guess it now has a problem with conn.send(presence), I have to do some more debugging before I can fully understand why this is happening. 
Any ideas?</description>
		<content:encoded><![CDATA[<p>Yes, I have hard-coded it, and have had to make a few changes. That problem does not occur anymore.<br />
I have been debugging and for some reason it will only accept a png file, strange, but now the problem is the following:<br />
"""<br />
Traceback (most recent call last):<br />
  File "C:\Users\Nida\Documents\CMPT 275\vcard.py", line 86, in<br />
    send_presence(cl, 'Updated vCard Image', hash_img(img), j.getNode())<br />
  File "C:\Users\Nida\Documents\CMPT 275\vcard.py", line 71, in send_presence<br />
    conn.send(presence)<br />
  File "C:\Python26\lib\site-packages\xmpppy-0.5.0rc1-py2.6.egg\xmpp\dispatcher.py", line 367, in send<br />
    self._owner_send(stanza)<br />
  File "C:\Python26\lib\site-packages\xmpppy-0.5.0rc1-py2.6.egg\xmpp\transports.py", line 195, in send<br />
    self._owner.disconnected()<br />
  File "C:\Python26\lib\site-packages\xmpppy-0.5.0rc1-py2.6.egg\xmpp\client.py", line 129, in disconnected<br />
    for i in self.disconnect_handlers: i()<br />
  File "C:\Python26\lib\site-packages\xmpppy-0.5.0rc1-py2.6.egg\xmpp\client.py", line 137, in DisconnectHandler<br />
    raise IOError('Disconnected from server.')<br />
IOError: Disconnected from server.<br />
"""</p>
<p>I guess it now has a problem with conn.send(presence), I have to do some more debugging before I can fully understand why this is happening.<br />
Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on XMPP vCard Python Script by Collin Anderson</title>
		<link>http://yabfog.com/blog/2009/06/03/xmpp-vcard-python-script/comment-page-1#comment-57831</link>
		<dc:creator>Collin Anderson</dc:creator>
		<pubDate>Tue, 21 Jul 2009 01:21:48 +0000</pubDate>
		<guid isPermaLink="false">http://yabfog.com/blog/?p=231#comment-57831</guid>
		<description>Cool. I wrote a similar one that downloads other people&#039;s instead of updating your own. Nice to know you can go the other direction too.

http://collincode.wordpress.com/2009/01/31/xmpp-jabber-photo-module-2/</description>
		<content:encoded><![CDATA[<p>Cool. I wrote a similar one that downloads other people's instead of updating your own. Nice to know you can go the other direction too.</p>
<p><a href="http://collincode.wordpress.com/2009/01/31/xmpp-jabber-photo-module-2/" rel="nofollow">http://collincode.wordpress.com/2009/01/31/xmpp-jabber-photo-module-2/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on XMPP vCard Python Script by Dan</title>
		<link>http://yabfog.com/blog/2009/06/03/xmpp-vcard-python-script/comment-page-1#comment-57830</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 21 Jul 2009 01:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://yabfog.com/blog/?p=231#comment-57830</guid>
		<description>Oh. Vista. Can&#039;t help you there -- I don&#039;t have Python installed on a Vista machine. I would imagine that the User Account Controls could be a possible culprit. Or the line you mentioned. Have you tried hard-coding the filename in lieu of sys.argv[1]?</description>
		<content:encoded><![CDATA[<p>Oh. Vista. Can't help you there -- I don't have Python installed on a Vista machine. I would imagine that the User Account Controls could be a possible culprit. Or the line you mentioned. Have you tried hard-coding the filename in lieu of sys.argv[1]?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on XMPP vCard Python Script by Needz</title>
		<link>http://yabfog.com/blog/2009/06/03/xmpp-vcard-python-script/comment-page-1#comment-57828</link>
		<dc:creator>Needz</dc:creator>
		<pubDate>Mon, 20 Jul 2009 20:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://yabfog.com/blog/?p=231#comment-57828</guid>
		<description>Thanks for replying, but I am not using Linux. I run &quot;python vcard.py ............&quot; and then the variables and that is when I get the error. I am actually using windows vista. Could it be something to do with this line:
&quot;file=os.path.expanduser(sys.argv[1])&quot;

Perhaps I am passing something wrongly here?
What do you think?</description>
		<content:encoded><![CDATA[<p>Thanks for replying, but I am not using Linux. I run "python vcard.py ............" and then the variables and that is when I get the error. I am actually using windows vista. Could it be something to do with this line:<br />
"file=os.path.expanduser(sys.argv[1])"</p>
<p>Perhaps I am passing something wrongly here?<br />
What do you think?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on XMPP vCard Python Script by Dan</title>
		<link>http://yabfog.com/blog/2009/06/03/xmpp-vcard-python-script/comment-page-1#comment-57826</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Mon, 20 Jul 2009 13:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://yabfog.com/blog/?p=231#comment-57826</guid>
		<description>Two possibilities come to mind: (1) the python script is not executable -- remember to run &quot;chmod 755 vcard.py&quot; (2) you (or more specifically, the script) don&#039;t have permission to read the image file -- try making the image file world readable with chmod 644.</description>
		<content:encoded><![CDATA[<p>Two possibilities come to mind: (1) the python script is not executable -- remember to run "chmod 755 vcard.py" (2) you (or more specifically, the script) don't have permission to read the image file -- try making the image file world readable with chmod 644.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on XMPP vCard Python Script by Needz</title>
		<link>http://yabfog.com/blog/2009/06/03/xmpp-vcard-python-script/comment-page-1#comment-57820</link>
		<dc:creator>Needz</dc:creator>
		<pubDate>Mon, 20 Jul 2009 05:37:46 +0000</pubDate>
		<guid isPermaLink="false">http://yabfog.com/blog/?p=231#comment-57820</guid>
		<description>Hi there,
I was just testing out your code, but for some reason it doesn&#039;t work for me.
I understand that you pass the variables through the command prompt but it doesn&#039;t recognize my file and I tried hard coding the file extension and user name, etc into the code and it says &#039;permission denied&#039;. Any ideas why that would be? I am a newbie to XMPP and just discovered the VCARD, I wanted to use the avatar. 
Should I be naming the image file vcard? Because I have tried that too.

Any help is appreciated,
Thanks,
Needz</description>
		<content:encoded><![CDATA[<p>Hi there,<br />
I was just testing out your code, but for some reason it doesn't work for me.<br />
I understand that you pass the variables through the command prompt but it doesn't recognize my file and I tried hard coding the file extension and user name, etc into the code and it says 'permission denied'. Any ideas why that would be? I am a newbie to XMPP and just discovered the VCARD, I wanted to use the avatar.<br />
Should I be naming the image file vcard? Because I have tried that too.</p>
<p>Any help is appreciated,<br />
Thanks,<br />
Needz</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Optimal OPML Browser &amp; WordPress Plugin by Dan</title>
		<link>http://yabfog.com/blog/optimal/comment-page-2#comment-57513</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 04 Jun 2009 02:25:19 +0000</pubDate>
		<guid isPermaLink="false">http://yabfog.com/wp/optimal/#comment-57513</guid>
		<description>Hi, Richard. Thanks for the feedback. I have no idea what&#039;s dropping core dumps -- Optimal is certainly not set up to do that, and the last time I saw a core dump of any kind was probably 5 years ago playing with a buggy Mandrake Linux beta.

The only things I can suggest are: (1) make sure that neither PHP nor Apache (or whatever web server you&#039;re running) is compiled with a &quot;debug&quot; flag enabled, and (2) do check your httpd error logs and see if you can find any errors that coincide with the creation date/time of the core dump file.

While Optimal could certainly use some work to more gracefully fail upon feed errors, I have never seen it crash and cause a core dump.</description>
		<content:encoded><![CDATA[<p>Hi, Richard. Thanks for the feedback. I have no idea what's dropping core dumps -- Optimal is certainly not set up to do that, and the last time I saw a core dump of any kind was probably 5 years ago playing with a buggy Mandrake Linux beta.</p>
<p>The only things I can suggest are: (1) make sure that neither PHP nor Apache (or whatever web server you're running) is compiled with a "debug" flag enabled, and (2) do check your httpd error logs and see if you can find any errors that coincide with the creation date/time of the core dump file.</p>
<p>While Optimal could certainly use some work to more gracefully fail upon feed errors, I have never seen it crash and cause a core dump.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Optimal OPML Browser &amp; WordPress Plugin by R. Richard Hobbs</title>
		<link>http://yabfog.com/blog/optimal/comment-page-2#comment-57511</link>
		<dc:creator>R. Richard Hobbs</dc:creator>
		<pubDate>Wed, 03 Jun 2009 21:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://yabfog.com/wp/optimal/#comment-57511</guid>
		<description>I have the optimal plugin installed on my self-hosted WP installation and it seems to serve the intended purpose.  look on my links page f usage /link-page/

One problem the past few months is that Optimal and / or Simple Pie are generating enormous .core files from feed errors and / discontinued feeds I am aggregating  - I get disk warning messages from my host about once every two weeks - the .core files are always found in my wp-content/plugins/optimal folder.

Am sure it would help if I went in and chk&#039;d the error log and cleaned up dead feed links - any other insights?

thx</description>
		<content:encoded><![CDATA[<p>I have the optimal plugin installed on my self-hosted WP installation and it seems to serve the intended purpose.  look on my links page f usage /link-page/</p>
<p>One problem the past few months is that Optimal and / or Simple Pie are generating enormous .core files from feed errors and / discontinued feeds I am aggregating  - I get disk warning messages from my host about once every two weeks - the .core files are always found in my wp-content/plugins/optimal folder.</p>
<p>Am sure it would help if I went in and chk'd the error log and cleaned up dead feed links - any other insights?</p>
<p>thx</p>
]]></content:encoded>
	</item>
</channel>
</rss>
