<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress.com" -->
<rss version="0.92">
<channel>
	<title>Tareq Alam</title>
	<link>http://tareqalam.wordpress.com</link>
	<description>i have promises to keep and miles to go before i sleep - Robert Frost</description>
	<lastBuildDate>Tue, 08 Sep 2009 05:38:13 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>ZopeSkel Archetypes HOWTO</title>
		<description><![CDATA[This is amazing help. To create simple archtype based product in plone follow the steps in this link
http://lionfacelemonface.wordpress.com/tutorials/zopeskel-archetypes-howto/
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tareqalam.wordpress.com&blog=3213025&post=142&subd=tareqalam&ref=&feed=1" />]]></description>
		<link>http://tareqalam.wordpress.com/2009/09/08/zopeskel-archetypes-howto/</link>
			</item>
	<item>
		<title>pdflatex running silentmode</title>
		<description><![CDATA[run this command in terminal to create pdf from the tex file silently
pdflatex -interaction=batchmode  texfilename.tex 
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tareqalam.wordpress.com&blog=3213025&post=141&subd=tareqalam&ref=&feed=1" />]]></description>
		<link>http://tareqalam.wordpress.com/2009/06/24/pdflatex-running-silentmode/</link>
			</item>
	<item>
		<title>PIL: IOError: encoder jpeg not available</title>
		<description><![CDATA[I have got this error while doing this
import tempfile
bg_new=Image.new(&#8216;RGB&#8217;,(486,236), GREEN)
tmp = tempfile.mktemp(suffix=&#8217;.%s&#8217; % &#8216;jpg&#8217;)
bg_new.save(tmp, &#8220;JPEG&#8221;, quality=95)
I was looking for solution and got this:
in setup.py in Imaging-1.1.6 that is PIL 1.1.6
set this
JPEG_ROOT = &#8220;/usr/lib64&#8243;, &#8220;/usr/include&#8221;
then in terminal
python setup.py build &#8211;force
this will include libjpeg in PIL. before you may need to install libjpeg in your linux system. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tareqalam.wordpress.com&blog=3213025&post=140&subd=tareqalam&ref=&feed=1" />]]></description>
		<link>http://tareqalam.wordpress.com/2009/06/02/pil-ioerror-encoder-jpeg-not-available/</link>
			</item>
	<item>
		<title>how to add external method while installing product in plone</title>
		<description><![CDATA[in profiles/default create import_steps.xml
  Import easysearch settings
in the product create  setuphandlers.py file like this

# created by tareq alam
# tareq.mist@gmail.com
# www.commitmentsoft.com
from Products.CMFCore.utils import getToolByName
from Products.CMFPlone.utils import safe_hasattr
from Products.Archetypes.public import listTypes
def importVarious(context):
    """
    Final easysearch import steps.
    """
    site = context.getSite()
   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tareqalam.wordpress.com&blog=3213025&post=138&subd=tareqalam&ref=&feed=1" />]]></description>
		<link>http://tareqalam.wordpress.com/2009/05/06/how-to-add-external-method-while-installing-product-in-plone/</link>
			</item>
	<item>
		<title>sound prblem fix hp dv 7 laptop in ubuntu</title>
		<description><![CDATA[thanks to this links creator
http://forum.notebookreview.com/showthread.php?t=331172
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tareqalam.wordpress.com&blog=3213025&post=137&subd=tareqalam&ref=&feed=1" />]]></description>
		<link>http://tareqalam.wordpress.com/2009/04/29/sound-prblem-fix-hp-dv-7-laptop-in-ubuntu/</link>
			</item>
	<item>
		<title>download xml of various settings of plone from zmi</title>
		<description><![CDATA[in zmi of plone click on portal_setup
click on export tab
click on export selected steps button and save in local
done
u can now use these xmls where u need them
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tareqalam.wordpress.com&blog=3213025&post=134&subd=tareqalam&ref=&feed=1" />]]></description>
		<link>http://tareqalam.wordpress.com/2009/04/01/download-xml-of-various-settings-of-plone-from-zmi/</link>
			</item>
	<item>
		<title>add contents and publish in plone using python script</title>
		<description><![CDATA[add a external method
in the method&#8217;s python file 
Newfolder = context.invokeFactory(&#8220;Folder&#8221;, id=&#8221;NEWFOLDERINPLONE&#8221;, title=&#8221;NEWFOLDERINPLONE&#8221;,path=&#8217;/&#8217;.join(context.getPhysicalPath()))
this will add a new folder in the contexts directory
To publish this folder automatically by code try this magic
Newfolderobj = getattr(context, Newfolder, None)
review_state = Newfolderobj.portal_workflow.getInfoFor(Newfolderobj, &#8216;review_state&#8217;, &#8221;)
    if not review_state == &#8216;published&#8217;:
       Newfolderobj.portal_workflow.doActionFor(Newfolderobj,&#8221;publish&#8221;,comment=&#8221;publised programmatically&#8221;)
it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tareqalam.wordpress.com&blog=3213025&post=132&subd=tareqalam&ref=&feed=1" />]]></description>
		<link>http://tareqalam.wordpress.com/2009/03/30/add-contents-and-publish-in-plone-using-python-script/</link>
			</item>
	<item>
		<title>Add new widget in PloneFormGen</title>
		<description><![CDATA[PloneFormGen is a nice tool to add dynamic forms in plone
There are lot of different form fields in PloneFormGen
but I was in need of a new type of widget in my form
this is how i did that
first to learn how it works..
http://plone.org/products/pfgdatagrid
download this product and install it after installing DataGridWidget and PloneFormGen
now you can add [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tareqalam.wordpress.com&blog=3213025&post=130&subd=tareqalam&ref=&feed=1" />]]></description>
		<link>http://tareqalam.wordpress.com/2009/03/30/add-new-widget-in-ploneformgen/</link>
			</item>
	<item>
		<title>install python 2.4.3 in ubuntu 8.10</title>
		<description><![CDATA[I have got error at first when i tried to install python 2.4.3 in ubuntu 8.10
error is something like this:
/usr/bin/install -c -m 644 ./LICENSE /usr/local/lib/python2.4/LICENSE.txt
PYTHONPATH=/usr/local/lib/python2.4   \
./python -Wi -tt /usr/local/lib/python2.4/compileall.py \
-d /usr/local/lib/python2.4 -f \
-x &#8216;badsyntax&#124;site-packages&#8217; /usr/local/lib/python2.4
*** buffer overflow detected ***: ./python terminated
then i searched the net for solution i got this
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/286334
and the solution isgo inside the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tareqalam.wordpress.com&blog=3213025&post=126&subd=tareqalam&ref=&feed=1" />]]></description>
		<link>http://tareqalam.wordpress.com/2009/03/15/install-python-243-in-ubuntu-810/</link>
			</item>
	<item>
		<title>Box.net a nice place to share and store files</title>
		<description><![CDATA[Box.net to store, share, edit, access and collaborate on files worldwide. this helps anyone share and access their data anywhere.
it gives 1GB space free. So you can enjoy uploading and sharing.
i am not advertising .. i enjoyed the interface there and trying to let ppl know about good things ..
thanks
box.net
      [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tareqalam.wordpress.com&blog=3213025&post=122&subd=tareqalam&ref=&feed=1" />]]></description>
		<link>http://tareqalam.wordpress.com/2008/12/31/boxnet-a-nice-place-to-share-and-store-files/</link>
			</item>
</channel>
</rss>
