<?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>bbPress support forums Tag: parsing</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Tag: parsing</description>
<language>en</language>
<pubDate>Tue, 02 Dec 2008 22:04:49 +0000</pubDate>

<item>
<title>chrishajer on "Anyone here know how to parse files with PHP?"</title>
<link>http://bbpress.org/forums/topic/anyone-here-know-how-to-parse-files-with-php#post-5472</link>
<pubDate>Tue, 13 Mar 2007 15:56:44 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">5472@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;mmm potted meat!
&#60;/p&#62;</description>
</item>
<item>
<title>ear1grey on "Anyone here know how to parse files with PHP?"</title>
<link>http://bbpress.org/forums/topic/anyone-here-know-how-to-parse-files-with-php#post-5466</link>
<pubDate>Tue, 13 Mar 2007 11:03:10 +0000</pubDate>
<dc:creator>ear1grey</dc:creator>
<guid isPermaLink="false">5466@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Oh how I love the smell of brand-name luncheon meat in the morning.
&#60;/p&#62;</description>
</item>
<item>
<title>john001 on "Anyone here know how to parse files with PHP?"</title>
<link>http://bbpress.org/forums/topic/anyone-here-know-how-to-parse-files-with-php#post-5461</link>
<pubDate>Tue, 13 Mar 2007 06:33:33 +0000</pubDate>
<dc:creator>john001</dc:creator>
<guid isPermaLink="false">5461@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;hi dear, you must  go to php.net, they people always have good samples code there. for more detail you must visit &#60;a href=&#34;http://www.webdesigningcompany.net&#34; rel=&#34;nofollow&#34;&#62;http://www.webdesigningcompany.net&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>ear1grey on "Anyone here know how to parse files with PHP?"</title>
<link>http://bbpress.org/forums/topic/anyone-here-know-how-to-parse-files-with-php#post-5431</link>
<pubDate>Mon, 12 Mar 2007 19:14:11 +0000</pubDate>
<dc:creator>ear1grey</dc:creator>
<guid isPermaLink="false">5431@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;macwise, no offence meant, and apologies if any taken.  i'm too short on time at the mo and had meant to add a pointer to php.net (which I've pointed ppl at &#60;a href=&#34;http://bbpress.org/forums/topic/743?replies=24#post-4948&#34;&#62;previously&#60;/a&#62;) before I got sidetracked by a demanding supervisor.  'tis better to have a community where you feel ok to ask - after all, the only dumb questions are those that remain unspoken.
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "Anyone here know how to parse files with PHP?"</title>
<link>http://bbpress.org/forums/topic/anyone-here-know-how-to-parse-files-with-php#post-5427</link>
<pubDate>Mon, 12 Mar 2007 17:17:22 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">5427@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Just go to php.net and look it up.  They always have good code samples there.  I wrote an entire xml parser (first thing I ever wrote in php) 2 years ago from code examples I found on php.net
&#60;/p&#62;</description>
</item>
<item>
<title>macwise on "Anyone here know how to parse files with PHP?"</title>
<link>http://bbpress.org/forums/topic/anyone-here-know-how-to-parse-files-with-php#post-5425</link>
<pubDate>Mon, 12 Mar 2007 16:57:50 +0000</pubDate>
<dc:creator>macwise</dc:creator>
<guid isPermaLink="false">5425@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;fel64:&#60;/p&#62;
&#60;p&#62;This reinvigorate looks awesome...can't get in right now, as it's on a limited beta.  However, I'm on the list, and looking forward to trying it out.  Thanks&#60;/p&#62;
&#60;p&#62;Ear1grey:&#60;br /&#62;
I know this question is in the wrong place, and sorry if it's obnoxious.  As you guessed, I'm being lazy.  I am a little out of my league here in asking for what I have, so I thought I'd get what suggestions I could first from the forum I frequent most.  I hope in time you can learn to forgive my impetuous nature. ;)&#60;/p&#62;
&#60;p&#62;chrishajer:&#60;br /&#62;
Thanks for the suggestions, as well as the links.  I've looked into this a bit, but was really interested in a pre-existing solution I could glean from.  I'm not really up on cgi, so a php-only solution is what I'd like to find.  (not sure if this exists).  I'm pretty good at analyzing something and gleaning what I need from that, so I figured that would be my best shot at getting this thing started.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Anyone here know how to parse files with PHP?"</title>
<link>http://bbpress.org/forums/topic/anyone-here-know-how-to-parse-files-with-php#post-5421</link>
<pubDate>Mon, 12 Mar 2007 14:30:47 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">5421@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;macwise, you might find a php group more helpful for general help with parsing files with PHP, since it's not purely a bbPress problem.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.php-scripts.com/php_diary/012103.php3&#34;&#62;Parsing Apache access_log files with PHP&#60;/a&#62;&#60;br /&#62;
First Google result for that search.&#60;/p&#62;
&#60;p&#62;More generically, &#60;a href=&#34;http://www.google.com/search?q=parsing+log+files+with+PHP&#34;&#62;this Google search&#60;/a&#62; might help.
&#60;/p&#62;</description>
</item>
<item>
<title>ear1grey on "Anyone here know how to parse files with PHP?"</title>
<link>http://bbpress.org/forums/topic/anyone-here-know-how-to-parse-files-with-php#post-5416</link>
<pubDate>Mon, 12 Mar 2007 11:27:19 +0000</pubDate>
<dc:creator>ear1grey</dc:creator>
<guid isPermaLink="false">5416@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You might find this useful.  Its Eric Raymond's article on &#60;a href=&#34;http://www.catb.org/~esr/faqs/smart-questions.html&#34;&#62;&#34;smart questions&#34;&#60;/a&#62;.
&#60;/p&#62;</description>
</item>
<item>
<title>macwise on "Anyone here know how to parse files with PHP?"</title>
<link>http://bbpress.org/forums/topic/anyone-here-know-how-to-parse-files-with-php#post-5386</link>
<pubDate>Sun, 11 Mar 2007 22:05:00 +0000</pubDate>
<dc:creator>macwise</dc:creator>
<guid isPermaLink="false">5386@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Many, many, many ulterior motives.  ;)  First of all, this is happening because I can't seem to find any solution that will search for and filter what &#60;strong&#62;&#38;lt;u&#38;gt;I&#38;lt;/u&#38;gt;&#60;/strong&#62; would like it to search for and filter.  Instead, it gives the cookie cutter solution.  &#60;/p&#62;
&#60;p&#62;I am also on Dreamhost right now, coming from a dedicated hosting environment, (my own server), and since I can't configure the stats program they have installed, nor can I easily install another of my own, I thought I'd try my hand at learning how to parse files myself.  &#60;/p&#62;
&#60;p&#62;So this is partially for education, partially for usefulness, and partially with the hopes of developing something that the gen. public might find helpful.  &#60;/p&#62;
&#60;p&#62;Am I wasting my, (and everybody else's) time?
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Anyone here know how to parse files with PHP?"</title>
<link>http://bbpress.org/forums/topic/anyone-here-know-how-to-parse-files-with-php#post-5385</link>
<pubDate>Sun, 11 Mar 2007 21:59:47 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">5385@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Meh, I have little/no experience with handling files myself. Might be easier, though, for you to modify some existing code? There's already been a lot of very sophisticated work done in statsgathering. I'm thinking of &#60;a href=&#34;http://www.reinvigorate.net/&#34;&#62;Reinvigorate&#60;/a&#62;, for example - not trying to discourage you, just find the most practical solution? I mean, are you in it purely to make the plugin or is there some ulterior motive? :)
&#60;/p&#62;</description>
</item>
<item>
<title>macwise on "Anyone here know how to parse files with PHP?"</title>
<link>http://bbpress.org/forums/topic/anyone-here-know-how-to-parse-files-with-php#post-5384</link>
<pubDate>Sun, 11 Mar 2007 21:38:37 +0000</pubDate>
<dc:creator>macwise</dc:creator>
<guid isPermaLink="false">5384@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm just poking around with some log files, and was curious as to how I could parse the data and extract some specific information based on parameters which are determined by my marketing campaign.  I suppose I should go to a more specific PHP forum for this, but I thought I'd throw it out here first, just in case anyone had some experience here.  &#60;/p&#62;
&#60;p&#62;I'm ultimately thinking of creating a plugin which will analyze CUSTOM data which a user can set to any value they like in the admin panel of either WP or BB.  &#60;/p&#62;
&#60;p&#62;I need to read line by line, and extract certain parts of a line, compare some of those parts with other lines to find similarities.  I think an example is best:&#60;/p&#62;
&#60;p&#62;88.88.888.88 - - [02/Mar/2007:00:56:38 -0800] &#34;POST /url/of/page/requested/ HTTP/1.1&#34; 304 256 &#34;/url/of/page/referring/&#34; &#34;Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3&#34;&#60;/p&#62;
&#60;p&#62;This line has a lot of data.  All I need is to find out if the url of page requested matches a pre-defined value.  Then, I need to find out what the ip address is if it does match the value.  I would then need to parse back through the file and pull every line that had a matching ip address. &#60;/p&#62;
&#60;p&#62;Hope this explanation is clear.  If anyone has any suggestions, or knows of any simple resources to start this happening, that would be extremely helpful.&#60;/p&#62;
&#60;p&#62;Thanks, &#60;/p&#62;
&#60;p&#62;Ron&#60;/p&#62;
&#60;p&#62;P.S.  I've read up a little on fget() and file(), but they're still a little greek to me.  A simple example that might work in my case would be most helpful.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
