RE: [nyphp-talk] Search function

2008-09-19 Thread (Margaret) Michele Waldman
Thank you. That was what I was thinking, but google I'm sure parses out the html tags, etc, etc. I'm pushing google to the client. I'm betting you, that their custom search is quite more complicated. Michele -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [nyphp-talk] Search function

2008-09-19 Thread Steve Manes
(Margaret) Michele Waldman wrote: Does anyone know of a function or code I could use to quickly search my site for a document? If you want something permanent for your web site, this is the GNU successor to ht://Dig. http://hyperestraier.sourceforge.net/ Otherwise, for shell searches I use

RE: [nyphp-talk] Search function

2008-09-19 Thread (Margaret) Michele Waldman
Then, I would probably have to create a cron job to re-index the website periodically? I'm thinking the google custom search is much easier. Thanks for the info though. If I decide to be other-website-independent, I might do this. Michele -Original Message- From: [EMAIL PROTECTED] [mai

RE: [nyphp-talk] Search function

2008-09-19 Thread (Margaret) Michele Waldman
Thank you for your input. I went to google. Basically you need an xml file and some html. They didn't break it down simply enough, but it was simply enough to figure out with slightly little effort. Swish-e is not breaking through clearly enough quick enough for me. Can you break down the gene

Re: [nyphp-talk] Search function

2008-09-19 Thread David Krings
(Margaret) Michele Waldman wrote: Does anyone know of a function or code I could use to quickly search my site for a document? I was thinking I could write a php function to open all of the files and search for a specific string. But, I’m guessing it’s already been done with a better

RE: [nyphp-talk] Search function

2008-09-19 Thread (Margaret) Michele Waldman
O.k. It says it can limit it to one website. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of (Margaret) Michele Waldman Sent: Friday, September 19, 2008 6:55 PM To: 'NYPHP Talk' Subject: RE: [nyphp-talk] Search function It's seeming custom search is doing

RE: [nyphp-talk] Search function

2008-09-19 Thread (Margaret) Michele Waldman
It's seeming custom search is doing an actual google search, whereas site search searches the specified site? Michele -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Campbell Sent: Friday, September 19, 2008 6:47 PM To: NYPHP Talk Subject: Re: [nyphp

RE: [nyphp-talk] Search function

2008-09-19 Thread (Margaret) Michele Waldman
Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Campbell Sent: Friday, September 19, 2008 6:47 PM To: NYPHP Talk Subject: Re: [nyphp-talk] Search function On Fri, Sep 19, 2008 at 6:30 PM, (Margaret) Michele Waldman <[EMAIL PROTECTED]> wrote:

Re: [nyphp-talk] Search function

2008-09-19 Thread John Campbell
On Fri, Sep 19, 2008 at 6:30 PM, (Margaret) Michele Waldman <[EMAIL PROTECTED]> wrote: > Googles annual pricing for using their function is: > > Number of web pages Search Query Limit (annual) Pricing (annual) > Up to 5,000 250,000 $100 > 5,001 - 50,000 250,000 $500 > 50,001 - 100,000 500,000

Re: [nyphp-talk] Search function

2008-09-19 Thread Joseph Crawford
Michelle, check the source for this site, http://googlewebmastercentral.blogspot.com/2008/04/crawling-through-html-forms.html They have the google search and doubt they pay for it, it's a free method I believe On Sep 19, 2008, at 6:30 PM, (Margaret) Michele Waldman wrote: Googles annual p

RE: [nyphp-talk] Search function

2008-09-19 Thread (Margaret) Michele Waldman
Googles annual pricing for using their function is: Number of web pages Search Query Limit (annual) Pricing (annual) Up to 5,000 250,000 $100 5,001 - 50,000 250,000 $500 50,001 - 100,000 500,000 $850 100,001 - 300,000 500,000 $2,250 > 300,000 > 500,000 Contact sales. Is everyo

Re: [nyphp-talk] Search function

2008-09-19 Thread Joseph Crawford
John, From my understanding this was not something she wanted for site users, I thought she was searching for a string. If you are going to deploy this to users then you don't want to use either method we spoke about and use John's suggestion and use Google Site Search On Sep 19, 2008,

Re: [nyphp-talk] Search function

2008-09-19 Thread John Campbell
On Fri, Sep 19, 2008 at 6:07 PM, (Margaret) Michele Waldman <[EMAIL PROTECTED]> wrote: > Would instr get_file_contents be too slow? This is a really bad idea in general... Is there a reason Google's site search won't work? If you do something like exec(grep), make sure you know how to escape ever

RE: [nyphp-talk] Search function

2008-09-19 Thread (Margaret) Michele Waldman
*small _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of (Margaret) Michele Waldman Sent: Friday, September 19, 2008 6:14 PM To: 'NYPHP Talk' Subject: RE: [nyphp-talk] Search function It's a fairly slow site. I try the php get_file_contents, etc and if too slow exec

RE: [nyphp-talk] Search function

2008-09-19 Thread (Margaret) Michele Waldman
It's a fairly slow site. I try the php get_file_contents, etc and if too slow exec grep. Thanks, Michele _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joseph Crawford Sent: Friday, September 19, 2008 6:10 PM To: NYPHP Talk Subject: Re: [nyphp-talk] Search fu

Re: [nyphp-talk] Search function

2008-09-19 Thread Joseph Crawford
You could probably use that however it would be a lot slower than the exec with grep. Also it will depend on how many files you have in the site. I guess you could try it and if you run into the issue of the script taking longer than allowed to execute just up the time with ini_set(); J

RE: [nyphp-talk] Search function

2008-09-19 Thread (Margaret) Michele Waldman
Also, if someone searches for html, should I not return all html docs? What's the rule here? Michele _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of (Margaret) Michele Waldman Sent: Friday, September 19, 2008 6:07 PM To: 'NYPHP Talk' Subject: RE: [nyphp-talk] S

RE: [nyphp-talk] Search function

2008-09-19 Thread (Margaret) Michele Waldman
Would instr get_file_contents be too slow? Michele _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joseph Crawford Sent: Friday, September 19, 2008 5:52 PM To: NYPHP Talk Subject: Re: [nyphp-talk] Search function If you have SSH access you could use grep, if no

Re: [nyphp-talk] Search function

2008-09-19 Thread Joseph Crawford
If you have SSH access you could use grep, if not write a php script that will exec() the grep command. This is providing the hosts security allows for exec() On Sep 19, 2008, at 5:49 PM, (Margaret) Michele Waldman wrote: Does anyone know of a function or code I could use to quickly search

[nyphp-talk] Search function

2008-09-19 Thread (Margaret) Michele Waldman
Does anyone know of a function or code I could use to quickly search my site for a document? I was thinking I could write a php function to open all of the files and search for a specific string. But, I'm guessing it's already been done with a better implementation. Thanks, Michele

Re: [nyphp-talk] Need a code diagrammer

2008-09-19 Thread Justin Dearing
On Fri, Sep 19, 2008 at 12:42 PM, David Krings <[EMAIL PROTECTED]> wrote: > Justin Dearing wrote: > >> 3) It has to handle non object code and smarty templates. Most of my >> code is contained in classes, but I have a file of functions that are > > Huh? Aren't you supposed to make those diagrams be

Re: [nyphp-talk] Need a code diagrammer

2008-09-19 Thread Elijah Insua
Hello, I love dbdesigner4, but it is MySQL only. -- Elijah On Fri, Sep 19, 2008 at 9:42 AM, David Krings <[EMAIL PROTECTED]> wrote: > Justin Dearing wrote: > > 3) It has to handle non object code and smarty templates. Most of my >> code is contained in classes, but I have a file of functions t

Re: [nyphp-talk] SWF -> JPEG/GIF?

2008-09-19 Thread David Krings
bzcoder wrote: 2) I fiddled with some shell scripts on my mythtv box at home to convert tv to flash video format suitable for playing on the wii[so I could record to my PC and than watch it over the wireless network on the TV using the WII] In case you are interested in something that require

Re: [nyphp-talk] Need a code diagrammer

2008-09-19 Thread David Krings
Justin Dearing wrote: 3) It has to handle non object code and smarty templates. Most of my code is contained in classes, but I have a file of functions that are Huh? Aren't you supposed to make those diagrams before you write code? This is how they teach it in school and so far I met only one

Re: [nyphp-talk] SWF -> JPEG/GIF?

2008-09-19 Thread bzcoder
csnyder wrote: idea what this means in practice... can ffmpeg actually create a Flash animation? I don't know, I've only used ffmpeg for 2 purposes: 1) To translate avi and windows media files for a website to flash. Windows Media Files are a /pain/ to translate because you can have a perfect

Re: [nyphp-talk] SWF -> JPEG/GIF?

2008-09-19 Thread csnyder
On Fri, Sep 19, 2008 at 9:23 AM, bzcoder <[EMAIL PROTECTED]> wrote: > > Using ffmpeg, > http://ffmpeg-php.sourceforge.net/ > (you can also use the command line, but this is the utility all the youtube > clone sites use) > > ffmpeg supports swf, but how easily it can pull the video is a subject of >

Re: [nyphp-talk] SWF -> JPEG/GIF?

2008-09-19 Thread bzcoder
Ajai Khattri wrote: Is there any way to generate a thumbnail image of a Flash movie (SWF) in PHP? Using ffmpeg, http://ffmpeg-php.sourceforge.net/ (you can also use the command line, but this is the utility all the youtube clone sites use) ffmpeg supports swf, but how easily it can pull

Re: [nyphp-talk] Need a code diagrammer

2008-09-19 Thread Donald J. Organ IV
Try this. http://t3.dotgnu.info/blog/php/inclued-gives-you-clue.html - Original Message - From: "Justin Dearing" <[EMAIL PROTECTED]> To: "NYPHP Talk" Sent: Friday, September 19, 2008 9:14:37 AM GMT -05:00 US/Canada Eastern Subject: [nyphp-talk] Need a code diagrammer Folks, Can anyone

[nyphp-talk] Need a code diagrammer

2008-09-19 Thread Justin Dearing
Folks, Can anyone recommend something to make code diagrams from PHP code. My requirements are as follows: 1) Pretty looking but somewhat functional. I'm presenting code to other programmers, but I'd like something to put in a powerpoint slide. 2) I'd prefer if it generated bitmap (png, jpeg, gif