<?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/"
		>
<channel>
	<title>Comments on: Scripturizer in PHP</title>
	<atom:link href="http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/feed" rel="self" type="application/rss+xml" />
	<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php</link>
	<description>disciple, husband, father, college minister, blowhard</description>
	<lastBuildDate>Wed, 10 Mar 2010 23:06:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris Poteet</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22299</link>
		<dc:creator>Chris Poteet</dc:creator>
		<pubDate>Mon, 27 Dec 2004 12:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22299</guid>
		<description>The apostrophe bug is gone now.  What an awesome script!  Thanks Glen!</description>
		<content:encoded><![CDATA[<p>The apostrophe bug is gone now.  What an awesome script!  Thanks Glen!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Poteet</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22300</link>
		<dc:creator>Chris Poteet</dc:creator>
		<pubDate>Wed, 15 Dec 2004 16:16:55 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22300</guid>
		<description>Great script, but have you had a chance to review the apostrophe problem?  It&#039;s the only thing keeping the script from being effective.</description>
		<content:encoded><![CDATA[<p>Great script, but have you had a chance to review the apostrophe problem?  It’s the only thing keeping the script from being effective.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryce</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22296</link>
		<dc:creator>Bryce</dc:creator>
		<pubDate>Tue, 23 Nov 2004 22:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22296</guid>
		<description>Hi, I&#039;m getting the same problem as #20 and #22.  When I look at the file, the line with the problem seems to be &lt;code&gt;$anchor_regex = ‘’;
&lt;code&gt;
Has a solution to this been found?
Please send me an email, since I might forget to check back!  Thanks.&lt;/code&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hi, I’m getting the same problem as #20 and #22.  When I look at the file, the line with the problem seems to be <code>$anchor_regex = ‘’;<br />
</code><code><br />
Has a solution to this been found?<br />
Please send me an email, since I might forget to check back!  Thanks.</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul - SteelerDirtFreak</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22301</link>
		<dc:creator>Paul - SteelerDirtFreak</dc:creator>
		<pubDate>Mon, 22 Nov 2004 20:01:11 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22301</guid>
		<description>I think I must be doing something wrong, but when I upload the scripturize.php file to the plugins folder and then go to it thru the admin interface to activate it, the whole code is there instead of an activate link. I&#039;ve tried this three different times from 3 different sources with the same result. All of my other plugins have just dropped right in. Any idea of what I may be doing wrong or what may be causing this?

Peace,
Paul</description>
		<content:encoded><![CDATA[<p>I think I must be doing something wrong, but when I upload the scripturize.php file to the plugins folder and then go to it thru the admin interface to activate it, the whole code is there instead of an activate link. I’ve tried this three different times from 3 different sources with the same result. All of my other plugins have just dropped right in. Any idea of what I may be doing wrong or what may be causing this?</p>
<p>Peace,<br />
Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glen Davis</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22298</link>
		<dc:creator>Glen Davis</dc:creator>
		<pubDate>Tue, 12 Oct 2004 19:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22298</guid>
		<description>I see the problem. The code in the text box has been run through Wordpress&#039; output filter and the single quotation mark has been turned into a fancy apostrophe.

The short-term solution is to do a search and replace.

The long-term solution is for me to fix this...</description>
		<content:encoded><![CDATA[<p>I see the problem. The code in the text box has been run through Wordpress’ output filter and the single quotation mark has been turned into a fancy apostrophe.</p>
<p>The short-term solution is to do a search and replace.</p>
<p>The long-term solution is for me to fix this…</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian A. Thomas</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22297</link>
		<dc:creator>Brian A. Thomas</dc:creator>
		<pubDate>Tue, 12 Oct 2004 11:33:01 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22297</guid>
		<description>I too get an error after activating. I get the following error:
&lt;code&gt;
Parse error: parse error, unexpected T_AS in /home2/brianath/public_html/wordpress/wp-content/plugins/scripturize.php on line 53
&lt;/code&gt;
For me, Line 53 is:
&lt;code&gt;
$anchor_regex = ‘&lt;as +href.*?&lt;/a&gt;’;
&lt;/as&gt;&lt;/code&gt;
And just in case it may be an error before that, the last few lines of code (48 to 57):
&lt;code&gt;DEFAULT_BIBLE_TRANSLATION’,‘NIV’);

function scripturize ($text = ‘’,$bible = DEFAULT_BIBLE_TRANSLATION){
    // skip everything within a hyperlink, a &lt;pre&gt; block, a &lt;code&gt; block, or a tag
    // we skip tags because something like &lt;img src=&quot;blah&quot; alt=&quot;John 3:16&quot;&gt; should not be messed with
        $anchor_regex = ‘&lt;as +href.*?&lt;/a&gt;’;
    $pre_regex = ‘&lt;pre&gt;.*&lt;/pre&gt;’;
    $code_regex = ‘&lt;code&gt;.*&lt;/code&gt;’;
        $tag_regex = ‘&lt; (?:[^&lt;&gt;s]*)(?:s[^&lt;&gt;]*){0,1}&gt;’; // $tag_regex=’&lt; [^&gt;]+&gt;’;
        $split_regex = “/((?:$anchor_regex)&#124;(?:$pre_regex)&#124;(?:$code_regex)&#124;(?:$tag_regex))/i”;
&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/as&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I too get an error after activating. I get the following error:<br />
<code><br />
Parse error: parse error, unexpected T_AS in /home2/brianath/public_html/wordpress/wp-content/plugins/scripturize.php on line 53<br />
</code><br />
For me, Line 53 is:<br />
<code><br />
$anchor_regex = ‘<as +href.*?</a>’;<br />
</as></code><br />
And just in case it may be an error before that, the last few lines of code (48 to 57):<br />
<code>DEFAULT_BIBLE_TRANSLATION’,‘NIV’);</p>
<p>function scripturize ($text = ‘’,$bible = DEFAULT_BIBLE_TRANSLATION){<br />
    // skip everything within a hyperlink, a
<pre> block, a <code> block, or a tag
    // we skip tags because something like <img src="blah" alt="John 3:16"/> should not be messed with
        $anchor_regex = ‘<as +href.*?</a>’;
    $pre_regex = ‘
<pre>.*</pre>
<p>’;<br />
    $code_regex = ‘<code>.*</code>’;<br />
        $tag_regex = ‘< (?:[^<>s]*)(?:s[^<>]*){0,1}>’; // $tag_regex=’< [^>]+>’;<br />
        $split_regex = “/((?:$anchor_regex)|(?:$pre_regex)|(?:$code_regex)|(?:$tag_regex))/i”;<br />
</as></code></pre>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22293</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Thu, 07 Oct 2004 00:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22293</guid>
		<description>I&#039;m getting a similar error to Brian in #17 above, except in line 55.  Line 55 reads:

if (preg_match($split_regex,$value)) {

Ideas?</description>
		<content:encoded><![CDATA[<p>I’m getting a similar error to Brian in #17 above, except in line 55.  Line 55 reads:</p>
<p>if (preg_match($split_regex,$value)) {</p>
<p>Ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22294</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Tue, 05 Oct 2004 16:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22294</guid>
		<description>Thanks for doing this!</description>
		<content:encoded><![CDATA[<p>Thanks for doing this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22295</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Fri, 24 Sep 2004 12:47:11 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22295</guid>
		<description>I installed the plugin  and activated it. Then went to write and got the following error

Parse error: parse error, unexpected T_STRING in .../wp-content/plugins/scripturizer.php on line 52

Line 52 reads
 // we skip tags because something like &lt;img src=&quot;blah&quot; alt=&quot;John 3:16&quot;&gt; should not be messed with

any ideas?

brian</description>
		<content:encoded><![CDATA[<p>I installed the plugin  and activated it. Then went to write and got the following error</p>
<p>Parse error: parse error, unexpected T_STRING in …/wp-content/plugins/scripturizer.php on line 52</p>
<p>Line 52 reads<br />
 // we skip tags because something like <img src="blah" alt="John 3:16"/> should not be messed with</p>
<p>any ideas?</p>
<p>brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Baeder</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22287</link>
		<dc:creator>Justin Baeder</dc:creator>
		<pubDate>Wed, 01 Sep 2004 04:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22287</guid>
		<description>Awesome plugin. The apostrophe thing is a problem, though, and the fix above (using &apos;) doesn&#039;t work. You have to use &#39; for all apostrophes.</description>
		<content:encoded><![CDATA[<p>Awesome plugin. The apostrophe thing is a problem, though, and the fix above (using &amp;apos;) doesn’t work. You have to use &amp;#39; for all apostrophes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glen Davis</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22283</link>
		<dc:creator>Glen Davis</dc:creator>
		<pubDate>Sat, 17 Jul 2004 00:36:24 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22283</guid>
		<description>I&#039;ve tried to replicate the bugs people have describes but have been unable to do so. Specifically, I can&#039;t replicate a scenario where Scripturizer fails with a single &#039; nor where it fails in the midst of a sentence (and I can&#039;t figure out what&#039;s wrong near line 52). If anyone can point me to a URL that fails it would really help me debug this thing.

Also, I haven&#039;t heard from Dean or Scott in a while about merging our codebases. I assume they got busy, so I&#039;ll contact them again...</description>
		<content:encoded><![CDATA[<p>I’ve tried to replicate the bugs people have describes but have been unable to do so. Specifically, I can’t replicate a scenario where Scripturizer fails with a single ’ nor where it fails in the midst of a sentence (and I can’t figure out what’s wrong near line 52). If anyone can point me to a URL that fails it would really help me debug this thing.</p>
<p>Also, I haven’t heard from Dean or Scott in a while about merging our codebases. I assume they got busy, so I’ll contact them again…</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hal Atkins</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22282</link>
		<dc:creator>Hal Atkins</dc:creator>
		<pubDate>Tue, 13 Jul 2004 01:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22282</guid>
		<description>Thanks for providing this resource - and I need your help.  I am trying to install this plugin into my new site, but I keep getting a &quot;call to undefined&quot; error around line 52.  Not knowing anything about PHP, I can&#039;t figure out what the problem is.  Would you have any idea? 

Thanks,
Pastor Hal Atkins</description>
		<content:encoded><![CDATA[<p>Thanks for providing this resource — and I need your help.  I am trying to install this plugin into my new site, but I keep getting a “call to undefined” error around line 52.  Not knowing anything about PHP, I can’t figure out what the problem is.  Would you have any idea? </p>
<p>Thanks,<br />
Pastor Hal Atkins</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22281</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Sat, 10 Jul 2004 14:20:01 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22281</guid>
		<description>It seems that if the scripture reference is on a line by itself, it works fine, but sometimes if it is in the middle of a sentence, it doesn&#039;t come though.</description>
		<content:encoded><![CDATA[<p>It seems that if the scripture reference is on a line by itself, it works fine, but sometimes if it is in the middle of a sentence, it doesn’t come though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22278</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Wed, 23 Jun 2004 13:05:41 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22278</guid>
		<description>Can&#039;t get it to work. Copied the code etc. uploaded the php file, activated it, all as specified.
But when I type a reference it remains completely un-scripturized... can&#039;t work out why. I must have done something wrong...but it&#039;s weird...</description>
		<content:encoded><![CDATA[<p>Can’t get it to work. Copied the code etc. uploaded the php file, activated it, all as specified.<br />
But when I type a reference it remains completely un-scripturized… can’t work out why. I must have done something wrong…but it’s weird…</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glen Davis</title>
		<link>http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/comment-page-1#comment-22277</link>
		<dc:creator>Glen Davis</dc:creator>
		<pubDate>Fri, 18 Jun 2004 06:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://glenandpaula.com/wordpress/archives/2004/05/28/scripturizer-in-php/#comment-22277</guid>
		<description>Thanks for letting me know--I&#039;ll try to get on that ASAP!</description>
		<content:encoded><![CDATA[<p>Thanks for letting me know–I’ll try to get on that ASAP!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
