BeerXML Community
September 09, 2010, 07:55:36 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Nov 2008 - Cleaned out the spam - BeerXML 2.0 is still in draft, but being worked on.
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: PHP generator?  (Read 1952 times)
kronicade
Newbie
*
Posts: 1


View Profile
« on: April 07, 2009, 08:38:39 PM »

Hi All,

I haven't browsed through the forum too much so this may already be out there.  Has anyone made a simple php script that grabs mysql values to populate a beerxml file?

I've been developing a project of my own called SmartBrewer.com.  I could help with this if there's anyone out there interested.

Just curious, I'd like to have a "beermap.xml" similar to my "sitemap.xml" available for a users recipe, but probably not for the whole site.

Thanks,
Andy
Logged
LaughingOtter
Newbie
*
Posts: 3


View Profile
« Reply #1 on: August 05, 2009, 06:26:28 PM »

Oh, hey! There's a good idea!
I just did something similar for a pinball design site whose search engine was completely out of it.
So you're saying we slurp the data via repeated URL calls (perl works a lot better for that, by the way) analyze a couple of resultant HTML files, figure out where the relevant data starts, only publish sub-files from that line onwards (you need to run scripts like that the same day you find that out), analyze the sub-files and publish our own MySQL table based on the info stripped out of those file fragments? (PHP is a lot better for that, by the way)

I think we could do that. Where do we start?
Logged
bperetto
Newbie
*
Posts: 1


View Profile
« Reply #2 on: October 23, 2009, 07:31:03 AM »

I already did that years ago. Feel free to borrow code:

www.brewthology.com
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!