<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Archaic Binary; Intelligent Disorder &#187; Joomla Components</title>
	<atom:link href="http://www.archaicbinary.net/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.archaicbinary.net</link>
	<description>...Or something like it.</description>
	<lastBuildDate>Sun, 05 Feb 2012 15:19:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Joomla Components</title>
		<link>http://www.archaicbinary.net/general/joomla-components.html</link>
		<comments>http://www.archaicbinary.net/general/joomla-components.html#comments</comments>
		<pubDate>Wed, 20 Oct 2010 13:52:47 +0000</pubDate>
		<dc:creator>zharvek</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.archaicbinary.net/?p=176</guid>
		<description><![CDATA[I have noticed a lot of traffic coming to my site looking for my old Joomla components, if you landed on this page you were probably browsing a site that still has links to me. I no longer create Joomla components and cannot support the ones I have created. Most did not work in Joomla [...]]]></description>
			<content:encoded><![CDATA[<p>I have noticed a lot of traffic coming to my site looking for my old Joomla components, if you landed on this page you were probably browsing a site that still has links to me.</p>
<p>I no longer create Joomla components and cannot support the ones I have created. Most did not work in Joomla 1.5 and I have since moved to a more simple setup.</p>
<p>Because I cannot support them, I cannot offer them for download. You should never run components or modules that have no updates or support to fix bugs and holes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaicbinary.net/general/joomla-components.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Document Processing Source Code</title>
		<link>http://www.archaicbinary.net/code/document-processing-source-code.html</link>
		<comments>http://www.archaicbinary.net/code/document-processing-source-code.html#comments</comments>
		<pubDate>Sat, 03 Apr 2010 02:28:28 +0000</pubDate>
		<dc:creator>zharvek</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.archaicbinary.net/?p=68</guid>
		<description><![CDATA[This is the PHP console program service that Anthony and I programmed at work. We got the owner of the company to sign off a release form finally making the code available under the GPL. Please note that this code will probably not work for you as a drop in place system, it will require [...]]]></description>
			<content:encoded><![CDATA[<p>This is the PHP console program service that Anthony and I programmed at work. We got the owner of the company to sign off a release form finally making the code available under the GPL.</p>
<p>Please note that this code will probably not work for you as a drop in place system, it will require tweaking, and lots of setup on your part. Please do not ask me for assistance.</p>
<p>Use this code at your own risk. You will need knowledge of Linux, PHP, Shell Scripts, and some common computer programming knowledge.</p>
<p>Folder structure for this program is as follows:<br />
<strong>/tmp</strong> &#8211; Used for temporary storage of files for FDF merge into interactive PDF.<br />
<strong>/usr/local/bin</strong> &#8211; Storage for all scripts this program uses. (dps.php, forge_fdf.php, file2pdf, pollerctl, dps_poller, hud-process.php)<br />
<strong>/usr/local/dpsdocs</strong> &#8211; Root storage for following folders:<br />
    <strong>dpsdocs/merged</strong> &#8211; If save mode is on, saves raw ODT and PDF files in named folders.<br />
    <strong>dpsdocs/failed</strong> &#8211; Saves documents that failed to merge for some reason.<br />
    <strong>dpsdocs/monitor</strong> &#8211; If user chooses fake printer, will save the PDF here, instead of really printing it. Good for NFS/SMB share.<br />
    <strong>dpsdocs/templates</strong> &#8211; Live templates that the system pulls.<br />
    <strong>dpsdocs/test_templates</strong> &#8211; Test templates that you can SMB/NFS share for users to add tempaltes and you can sync to live later.<br />
    <strong>dpsdocs/xml_request</strong> &#8211; Where all the XML files get dumped to from which ever system you have generating them. Good to NFS/SMB share.</p>
<p>Files used and purpose:<br />
<strong>dps.php</strong> &#8211; Main PHP program, does the merging and OOO operations. Takes in the XML as the first parameter and some others. Open file and view for yourself.<br />
<strong>dps_poller</strong> &#8211; The program that loops continuously looking for newly dumped XML files. XML files that have specific printers are SCP&#8217;ed over the network to other servers running program so they build and print locally at that location.<br />
<strong>file2pdf</strong> &#8211; This shell script gets called by <strong>dps.php</strong> and finishes the job, runs pdftk operations, and reads the sorting.txt file to decide where to print.<br />
<strong>hud-process.php</strong> &#8211; Example PHP file that takes in FDF data and merges with specific PDF files. Called from <strong>dps.php</strong>.<br />
<strong>pollerctl</strong> &#8211; Service script that makes sure the <strong>dps_poller</strong> is always running and never died for some reason.<br />
<strong>tbs_class.php</strong> &#8211; TinyButStrong PHP class file, called from <strong>tbsooo_class.php</strong>.<br />
<strong>tbsooo_class.php</strong> &#8211; TinyButStrong OpenOfficeOrg class file, called from <strong>dps.php</strong>.<br />
<strong>zint</strong> &#8211; Console program that takes in data and creates a barcode. <strong>dps.php</strong> calls this, and creates a PDF417 barcode.</p>
<p><a href='http://www.archaicbinary.net/wp-content/uploads/dps.zip'>Document Processing PHP System</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaicbinary.net/code/document-processing-source-code.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You want more?!</title>
		<link>http://www.archaicbinary.net/general/you-want-more.html</link>
		<comments>http://www.archaicbinary.net/general/you-want-more.html#comments</comments>
		<pubDate>Thu, 25 Mar 2010 02:24:11 +0000</pubDate>
		<dc:creator>zharvek</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.archaicbinary.net/?p=56</guid>
		<description><![CDATA[Awhile back, (awhile being a few years now) Anthony and I wrote a document processing system in PHP for the company. It takes in XML data and merges this with OpenOffice documents as templates to create final dynamic merged PDF documents for printing, email, and storage on disk. It has been running ever since, processing [...]]]></description>
			<content:encoded><![CDATA[<p>Awhile back, (awhile being a few years now) Anthony and I wrote a document processing system in PHP for the company. It takes in XML data and merges this with OpenOffice documents as templates to create final dynamic merged PDF documents for printing, email, and storage on disk. It has been running ever since, processing a few hundred documents a week.</p>
<p>This system actually replaced another one that did close to the same thing, but required Microsoft Word, licenses for Office, and multiple servers and Windows installations and .NET programming. It was horrible, slow, and unstable. Which lead us to create the new system.</p>
<p>A few days ago I was asked to add another template to the server, which happens a few times a month. But this time the document to be added was a PDF file already, very complex actually. Having multiple form fields and such. I tried to recreate / convert it to OpenOffice but it always comes out ugly. So instead of working around this, I went ahead and added some more code to the program to take in the XML data as usual, and for this one document (or more in the future) to merge FDF data into the PDF.</p>
<p>Searching around where to start, and found a good site: <a href="http://www.mactech.com/articles/mactech/Vol.20/20.11/FillOnlinePDFFormsUsingHTML/index.html">http://www.mactech.com/articles/mactech/Vol.20/20.11/FillOnlinePDFFormsUsingHTML/index.html</a> which gave some very useful information. What I really needed was the php function he offers here: <a href="http://www.pdfhacks.com/forge_fdf/">http://www.pdfhacks.com/forge_fdf/</a>. Take a look, it&#8217;s kinda neat.</p>
<p>It is in production now, and working very well!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.archaicbinary.net/general/you-want-more.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

