<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>JCrawler Forum Topic: blank loc for some links</title>
<link>http://www.pixelschieber.ch/forum/</link>
<description>Help forums for JCrawler</description>
<language>en</language>
<pubDate>Fri, 10 Sep 2010 20:34:35 +0000</pubDate>

<item>
<title>Rogier on "blank loc for some links"</title>
<link>http://www.pixelschieber.ch/forum/topic/blank-loc-for-some-links#post-171</link>
<pubDate>Mon, 30 Mar 2009 15:43:00 +0000</pubDate>
<dc:creator>Rogier</dc:creator>
<guid isPermaLink="false">171@http://www.pixelschieber.ch/forum/</guid>
<description>&#60;p&#62;Fixed Component:&#60;br /&#62;
&#60;a href=&#34;http://www.pixelschieber.ch/forum/topic/jcrawler-16b-beta#post-172&#34; rel=&#34;nofollow&#34;&#62;http://www.pixelschieber.ch/forum/topic/jcrawler-16b-beta#post-172&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Rogier on "blank loc for some links"</title>
<link>http://www.pixelschieber.ch/forum/topic/blank-loc-for-some-links#post-170</link>
<pubDate>Mon, 30 Mar 2009 15:20:36 +0000</pubDate>
<dc:creator>Rogier</dc:creator>
<guid isPermaLink="false">170@http://www.pixelschieber.ch/forum/</guid>
<description>&#60;p&#62;This is the corrected code: (line 423)&#60;/p&#62;
&#60;p&#62;	foreach ($urls as $loc){&#60;/p&#62;
&#60;p&#62;		/* urf-8 encoding */&#60;br /&#62;
		//$loc=htmlentities($loc,ENT_QUOTES,\'UTF-8\');&#60;br /&#62;
		//$loc=htmlspecialchars($loc,ENT_QUOTES,\'UTF-8\',false);&#60;br /&#62;
		$loc[\'url\']=htmlspecialchars($loc[\'url\']);&#60;/p&#62;
&#60;p&#62;		if (strlen(trim($loc[\'url\'])) &#38;gt; 0){ $i++;&#60;/p&#62;
&#60;p&#62;		$modified_at = date(\'Y-m-d\\Th:i:s\\Z\');&#60;br /&#62;
		$xml_string .= \&#34;&#60;br /&#62;
		&#38;lt;url&#38;gt;&#60;br /&#62;
		   &#38;lt;loc&#38;gt;\&#34;.$loc[\'url\'].\&#34;&#38;lt;/loc&#38;gt;&#60;br /&#62;
		   &#38;lt;lastmod&#38;gt;$modified_at&#38;lt;/lastmod&#38;gt;&#60;br /&#62;
		   &#38;lt;priority&#38;gt;\&#34;.$priority.\&#34;&#38;lt;/priority&#38;gt;&#60;br /&#62;
		   &#38;lt;changefreq&#38;gt;\&#34;.$freq.\&#34;&#38;lt;/changefreq&#38;gt;&#60;br /&#62;
		&#38;lt;/url&#38;gt;\&#34;;&#60;br /&#62;
	}&#60;br /&#62;
	}
&#60;/p&#62;</description>
</item>
<item>
<title>Rogier on "blank loc for some links"</title>
<link>http://www.pixelschieber.ch/forum/topic/blank-loc-for-some-links#post-168</link>
<pubDate>Mon, 30 Mar 2009 14:29:05 +0000</pubDate>
<dc:creator>Rogier</dc:creator>
<guid isPermaLink="false">168@http://www.pixelschieber.ch/forum/</guid>
<description>&#60;p&#62;Tried to use that fix, but:&#60;/p&#62;
&#60;p&#62;Warning: Unexpected character in input: \'\\\' (ASCII=92) state=1 in /home/********/domains/********/public_html/administrator/components/com_jcrawler/admin.jcrawler.php on line 429&#60;/p&#62;
&#60;p&#62;Parse error: syntax error, unexpected T_STRING, expecting \']\' in /home/********/domains/********/public_html/administrator/components/com_jcrawler/admin.jcrawler.php on line 527&#60;/p&#62;
&#60;p&#62;Can somebody tell what goes wrong on line 429 and 527?
&#60;/p&#62;</description>
</item>
<item>
<title>FSGDAG on "blank loc for some links"</title>
<link>http://www.pixelschieber.ch/forum/topic/blank-loc-for-some-links#post-125</link>
<pubDate>Mon, 02 Mar 2009 17:23:23 +0000</pubDate>
<dc:creator>FSGDAG</dc:creator>
<guid isPermaLink="false">125@http://www.pixelschieber.ch/forum/</guid>
<description>&#60;p&#62;Forget my post above... :)  I found what I was doing wrong and fixed it :)  No more blank lines :)
&#60;/p&#62;</description>
</item>
<item>
<title>FSGDAG on "blank loc for some links"</title>
<link>http://www.pixelschieber.ch/forum/topic/blank-loc-for-some-links#post-124</link>
<pubDate>Mon, 02 Mar 2009 17:08:31 +0000</pubDate>
<dc:creator>FSGDAG</dc:creator>
<guid isPermaLink="false">124@http://www.pixelschieber.ch/forum/</guid>
<description>&#60;p&#62;I\'ve made the changes above, but now I\'m getting an error when trying to run jcrawler. &#60;/p&#62;
&#60;p&#62;Here is my code:&#60;/p&#62;
&#60;p&#62;_____________&#60;br /&#62;
	foreach ($urls as $loc){&#60;/p&#62;
&#60;p&#62;		/* urf-8 encoding */&#60;br /&#62;
		//$loc=htmlentities($loc,ENT_QUOTES,\\\'UTF-8\\\');&#60;br /&#62;
		//$loc=htmlspecialchars($loc,ENT_QUOTES,\\\'UTF-8\\\',false);&#60;br /&#62;
		$loc[\\\'url\\\']=htmlspecialchars($loc[\\\'url\\\']);&#60;/p&#62;
&#60;p&#62;		if (strlen(trim($loc[\\\'url\\\'])) &#38;gt; 0){ $i++;&#60;/p&#62;
&#60;p&#62;		$modified_at = date(\\\'Y-m-d\\\\Th:i:s\\\\Z\\\');&#60;br /&#62;
		$xml_string .= \\\&#34;&#60;br /&#62;
		&#38;lt;url&#38;gt;&#60;br /&#62;
		&#38;lt;loc&#38;gt;\\\&#34;.$loc[\\\'url\\\'].\\\&#34;&#38;lt;/loc&#38;gt;&#60;br /&#62;
		&#38;lt;lastmod&#38;gt;$modified_at&#38;lt;/lastmod&#38;gt;&#60;br /&#62;
		&#38;lt;priority&#38;gt;\\\&#34;.$priority.\\\&#34;&#38;lt;/priority&#38;gt;&#60;br /&#62;
		&#38;lt;changefreq&#38;gt;\\\&#34;.$freq.\\\&#34;&#38;lt;/changefreq&#38;gt;&#60;br /&#62;
		&#38;lt;/url&#38;gt;\\\&#34;;&#60;br /&#62;
	}&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;_________________&#60;/p&#62;
&#60;p&#62;And here is the error messages I\'m getting when trying to run jcrawler:&#60;/p&#62;
&#60;p&#62;Warning: Unexpected character in input: \'\\\' (ASCII=92) state=1 in /home/xxxx/public_html/administrator/components/com_jcrawler/admin.jcrawler.php on line 428&#60;/p&#62;
&#60;p&#62;Parse error: syntax error, unexpected T_STRING, expecting \']\' in /home/xxxx/public_html/administrator/components/com_jcrawler/admin.jcrawler.php on line 527
&#60;/p&#62;</description>
</item>
<item>
<title>jerren on "blank loc for some links"</title>
<link>http://www.pixelschieber.ch/forum/topic/blank-loc-for-some-links#post-116</link>
<pubDate>Thu, 26 Feb 2009 03:00:43 +0000</pubDate>
<dc:creator>jerren</dc:creator>
<guid isPermaLink="false">116@http://www.pixelschieber.ch/forum/</guid>
<description>&#60;p&#62;What\'s the official problem/fix Patrik?  I\'m seeing the same problem.
&#60;/p&#62;</description>
</item>
<item>
<title>patrick on "blank loc for some links"</title>
<link>http://www.pixelschieber.ch/forum/topic/blank-loc-for-some-links#post-107</link>
<pubDate>Tue, 24 Feb 2009 11:00:01 +0000</pubDate>
<dc:creator>patrick</dc:creator>
<guid isPermaLink="false">107@http://www.pixelschieber.ch/forum/</guid>
<description>&#60;p&#62;thanks, yeah thats a fix!&#60;br /&#62;
but i found the true problem, that leads to the empty loc\'s and fixed it already!&#60;/p&#62;
&#60;p&#62;greets Patrick
&#60;/p&#62;</description>
</item>
<item>
<title>Jalby on "blank loc for some links"</title>
<link>http://www.pixelschieber.ch/forum/topic/blank-loc-for-some-links#post-106</link>
<pubDate>Tue, 24 Feb 2009 05:18:16 +0000</pubDate>
<dc:creator>Jalby</dc:creator>
<guid isPermaLink="false">106@http://www.pixelschieber.ch/forum/</guid>
<description>&#60;p&#62;This definitely cleared up my missing locs, the sitemap validates and I saved 300 MB of error log! Thanks mate. Does this now constitute 1.7 Beta?
&#60;/p&#62;</description>
</item>
<item>
<title>lumo on "blank loc for some links"</title>
<link>http://www.pixelschieber.ch/forum/topic/blank-loc-for-some-links#post-103</link>
<pubDate>Sat, 21 Feb 2009 13:43:17 +0000</pubDate>
<dc:creator>lumo</dc:creator>
<guid isPermaLink="false">103@http://www.pixelschieber.ch/forum/</guid>
<description>&#60;p&#62;Well done BHorst, this fixed my blank loc problem,&#60;br /&#62;
Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>BHorst on "blank loc for some links"</title>
<link>http://www.pixelschieber.ch/forum/topic/blank-loc-for-some-links#post-98</link>
<pubDate>Wed, 18 Feb 2009 15:49:13 +0000</pubDate>
<dc:creator>BHorst</dc:creator>
<guid isPermaLink="false">98@http://www.pixelschieber.ch/forum/</guid>
<description>&#60;p&#62;I changed the File /administrator/components/com_jcrawler/admin.jcrawler.php, to have no longer empty locs:&#60;/p&#62;
&#60;p&#62;Find in line 423: \&#34;foreach ($urls as $loc){\&#34;&#60;/p&#62;
&#60;p&#62;Delete the line with \&#34;i++;\&#34;&#60;/p&#62;
&#60;p&#62;Add \&#34;if (strlen(trim($loc[\'url\'])) &#38;gt; 0){ i++;\&#34; after \&#34;$loc[\'url\']=htmlspecialchars($loc[\'url\']);\&#34;&#60;/p&#62;
&#60;p&#62;Add \&#34;}\&#34; after \&#34;&#38;lt;/url&#38;gt;\&#34;;\&#34;&#60;/p&#62;
&#60;p&#62;When you\'re finished it should look like this:&#60;/p&#62;
&#60;p&#62;foreach ($urls as $loc){&#60;/p&#62;
&#60;p&#62;/* urf-8 encoding */&#60;br /&#62;
//$loc=htmlentities($loc,ENT_QUOTES,\'UTF-8\');&#60;br /&#62;
//$loc=htmlspecialchars($loc,ENT_QUOTES,\'UTF-8\',false);&#60;br /&#62;
$loc[\'url\']=htmlspecialchars($loc[\'url\']);&#60;/p&#62;
&#60;p&#62;if (strlen(trim($loc[\'url\'])) &#38;gt; 0){ $i++;&#60;/p&#62;
&#60;p&#62;   $modified_at = date(\'Y-m-d\\Th:i:s\\Z\');&#60;br /&#62;
   $xml_string .= \&#34;&#60;br /&#62;
   &#38;lt;url&#38;gt;&#60;br /&#62;
   &#38;lt;loc&#38;gt;\&#34;.$loc[\'url\'].\&#34;&#38;lt;/loc&#38;gt;&#60;br /&#62;
   &#38;lt;lastmod&#38;gt;$modified_at&#38;lt;/lastmod&#38;gt;&#60;br /&#62;
   &#38;lt;priority&#38;gt;\&#34;.$priority.\&#34;&#38;lt;/priority&#38;gt;&#60;br /&#62;
   &#38;lt;changefreq&#38;gt;\&#34;.$freq.\&#34;&#38;lt;/changefreq&#38;gt;&#60;br /&#62;
   &#38;lt;/url&#38;gt;\&#34;;&#60;br /&#62;
  }&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;Now no more empty loc\'s
&#60;/p&#62;</description>
</item>
<item>
<title>BHorst on "blank loc for some links"</title>
<link>http://www.pixelschieber.ch/forum/topic/blank-loc-for-some-links#post-97</link>
<pubDate>Wed, 18 Feb 2009 15:30:00 +0000</pubDate>
<dc:creator>BHorst</dc:creator>
<guid isPermaLink="false">97@http://www.pixelschieber.ch/forum/</guid>
<description>&#60;p&#62;No errors on generation, but the same empty loc\'s...&#60;/p&#62;
&#60;p&#62;&#38;lt;url&#38;gt;&#60;br /&#62;
&#38;lt;loc&#38;gt;&#38;lt;/loc&#38;gt;&#60;br /&#62;
&#38;lt;lastmod&#38;gt;2009-02-18T10:53:18Z&#38;lt;/lastmod&#38;gt;&#60;br /&#62;
&#38;lt;priority&#38;gt;0.5&#38;lt;/priority&#38;gt;&#60;br /&#62;
&#38;lt;changefreq&#38;gt;daily&#38;lt;/changefreq&#38;gt;&#60;br /&#62;
&#38;lt;/url&#38;gt;&#60;/p&#62;
&#60;p&#62;Very good component!! Thanks a lot!
&#60;/p&#62;</description>
</item>
<item>
<title>mohanarun on "blank loc for some links"</title>
<link>http://www.pixelschieber.ch/forum/topic/blank-loc-for-some-links#post-96</link>
<pubDate>Wed, 18 Feb 2009 09:06:29 +0000</pubDate>
<dc:creator>mohanarun</dc:creator>
<guid isPermaLink="false">96@http://www.pixelschieber.ch/forum/</guid>
<description>&#60;p&#62;Hi same problem here - other URLs have loc some urls not having loc but during generation it generates these curl errors and I have curl installed and properly working till now&#60;/p&#62;
&#60;p&#62;Curl error on url &#60;a href=&#34;http://www.nimltdengineering.com/smoking-shelters/free-standing-smoking-shelter-1x25m.html&#34; rel=&#34;nofollow&#34;&#62;http://www.nimltdengineering.com/smoking-shelters/free-standing-smoking-shelter-1x25m.html&#60;/a&#62;: couldn\'t connect to host&#60;br /&#62;
Curl error on url &#60;a href=&#34;http://www.nimltdengineering.com/smoking-shelters/free-standing-smoking-shelter-2x25m.html&#34; rel=&#34;nofollow&#34;&#62;http://www.nimltdengineering.com/smoking-shelters/free-standing-smoking-shelter-2x25m.html&#60;/a&#62;: couldn\'t connect to host&#60;br /&#62;
Curl error on url &#60;a href=&#34;http://www.nimltdengineering.com/smoking-shelters/free-standing-smoking-shelter-3x25m.html&#34; rel=&#34;nofollow&#34;&#62;http://www.nimltdengineering.com/smoking-shelters/free-standing-smoking-shelter-3x25m.html&#60;/a&#62;: couldn\'t connect to host&#60;br /&#62;
Curl error on url &#60;a href=&#34;http://www.nimltdengineering.com/smoking-shelters/free-standing-smoking-shelter-4x25m.html&#34; rel=&#34;nofollow&#34;&#62;http://www.nimltdengineering.com/smoking-shelters/free-standing-smoking-shelter-4x25m.html&#60;/a&#62;: couldn\'t connect to host&#60;br /&#62;
Curl error on url &#60;a href=&#34;http://www.nimltdengineering.com/smoking-shelters/free-standing-smoking-shelter-9-x-25m.html&#34; rel=&#34;nofollow&#34;&#62;http://www.nimltdengineering.com/smoking-shelters/free-standing-smoking-shelter-9-x-25m.html&#60;/a&#62;: couldn\'t connect to host&#60;br /&#62;
Curl error on url &#60;a href=&#34;http://www.nimltdengineering.com/smoking-shelters/premium-smoking-shelter-1x25m.html&#34; rel=&#34;nofollow&#34;&#62;http://www.nimltdengineering.com/smoking-shelters/premium-smoking-shelter-1x25m.html&#60;/a&#62;: couldn\'t connect to host&#60;br /&#62;
Curl error on url &#60;a href=&#34;http://www.nimltdengineering.com/smoking-shelters/premium-smoking-shelter-2x25m.html&#34; rel=&#34;nofollow&#34;&#62;http://www.nimltdengineering.com/smoking-shelters/premium-smoking-shelter-2x25m.html&#60;/a&#62;: couldn\'t connect to host&#60;br /&#62;
Curl error on url &#60;a href=&#34;http://www.nimltdengineering.com/smoking-shelters/premium-smoking-shelter-3x25m.html&#34; rel=&#34;nofollow&#34;&#62;http://www.nimltdengineering.com/smoking-shelters/premium-smoking-shelter-3x25m.html&#60;/a&#62;: couldn\'t connect to host&#60;br /&#62;
Curl error on url &#60;a href=&#34;http://www.nimltdengineering.com/smoking-shelters/premium-smoking-shelter-4x25m.html&#34; rel=&#34;nofollow&#34;&#62;http://www.nimltdengineering.com/smoking-shelters/premium-smoking-shelter-4x25m.html&#60;/a&#62;: couldn\'t connect to host
&#60;/p&#62;</description>
</item>
<item>
<title>amackie on "blank loc for some links"</title>
<link>http://www.pixelschieber.ch/forum/topic/blank-loc-for-some-links#post-95</link>
<pubDate>Wed, 18 Feb 2009 07:19:13 +0000</pubDate>
<dc:creator>amackie</dc:creator>
<guid isPermaLink="false">95@http://www.pixelschieber.ch/forum/</guid>
<description>&#60;p&#62;My generated sitemap has empty loc tags in the middle of the document and some page links are missing from the links that are displayed. Otherwise it works fine - the links before and after the blank section are good. &#60;/p&#62;
&#60;p&#62;The blanks look like this:&#60;/p&#62;
&#60;p&#62;	&#38;lt;url&#38;gt;&#60;br /&#62;
	   &#38;lt;loc&#38;gt;&#38;lt;/loc&#38;gt;&#60;br /&#62;
	   &#38;lt;lastmod&#38;gt;2009-02-17T10:15:50Z&#38;lt;/lastmod&#38;gt;&#60;br /&#62;
	   &#38;lt;priority&#38;gt;0.5&#38;lt;/priority&#38;gt;&#60;br /&#62;
	   &#38;lt;changefreq&#38;gt;daily&#38;lt;/changefreq&#38;gt;&#60;br /&#62;
	&#38;lt;/url&#38;gt; &#60;/p&#62;
&#60;p&#62;Any ideas? (And thanks for the great component.)
&#60;/p&#62;</description>
</item>

</channel>
</rss>
