Re: [nyphp-talk] Advice on setting for testing server

2009-08-27 Thread Ajai Khattri
On Wed, 26 Aug 2009, li...@nopersonal.info wrote: > I actually like the part of maintaining a server I used to too... but at a certain point you get more servers and realize its a lot of time to maintain all of them... -- Aj. ___ New York PHP User

Re: [nyphp-talk] Working with designers

2009-08-27 Thread tedd
At 7:21 PM -0400 8/27/09, li...@nopersonal.info wrote: Don't get me wrong--Dreamweaver is a great tool that I use it every day for both HTML & PHP, but I know how to hand code and I never, ever work in design mode. I like it for its organization, synchronization, and code completion abilities (I'

Re: [nyphp-talk] Working with designers

2009-08-27 Thread li...@nopersonal.info
Somehow my earlier reply to this went only to tedd instead of the list. I guess I need to hit "reply to all" from now on. Anyhoo... tedd wrote: > When it comes to teaching (I do teach at college level), there are very > few students/clients who fully realize all that's involved in developing > a w

Re: [nyphp-talk] Advice on setting for testing server

2009-08-27 Thread li...@nopersonal.info
Kristina D. H. Anderson wrote: > Hi Bev, > > Another good tip someone gave me is to train yourself to automatically > back up any file by adding the date in format _20090826 to the filename > before you edit or overwrite it, and that way you can always roll back > your files and have a day by d

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Glenn Powell
continuation from last post... and another idea... When you get the list of record ids, select enough of the text around the (target phrase to be "linkafied") to give it some context, and, at the point of publication of a new article, display those blurbs in a list with a pre checked checkbo

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Glenn Powell
If the article copy is stored in the db, and you've got sql to work with, then at the point of publication of a new article, it might be possible to narrow the targets with; select id from articles where article_text like %valley forge%"; (or something like that). Then you can do whatever yo

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread tedd
At 10:04 AM -0400 8/27/09, Randal Rust wrote: In one of our applications, we have a need to apply inline links to the text, and would like to figure out a way to do this dynamically. I have looked for this high and low, but haven't been able to find what I am looking for. Perhaps I am searching t

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Randal Rust
On Thu, Aug 27, 2009 at 4:16 PM, Andrew Muraco wrote: > Personally, i think a spider/bot is the best bet, maintain a list of > phrases/words that should point to links and add those in. I am leaning towards thinking that is the best option. The other way would be to simply provide the editor with

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Andrew Muraco
But you have to consider that chances are, the person entering the article won't select all the possible keywords that could become links ahead of time, so you'd end up with articles that don't have enough links.. but I like the idea. Personally, i think a spider/bot is the best bet, maintain a li

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Michael Southwell
Glenn Powell wrote: Ah. New article titles are based on phrases from pre-existing content. I'll bet you could pre-create most of the links every time you write an article. I mention Valley Forge, I think "there should be an article on that some day", and so I create the link right then. When

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Chuck Reeves
Yea im good at those so if any one needs them you can ask me ;) Thank You Chuck Reeves Cell: 631-374-0772 Email: chuck.ree...@gmail.com On Thu, Aug 27, 2009 at 3:05 PM, Randal Rust wrote: > On Thu, Aug 27, 2009 at 2:56 PM, Chuck Reeves > wrote: > > > When you need to explain something to Lay pe

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Randal Rust
On Thu, Aug 27, 2009 at 2:59 PM, John Campbell wrote: > The way Wikipedia does this is by allowing robot editors.  The bots go > through the wikitext and fix things, and everyone can see the changes > the bot made.  A human can rollback the changes if the bot does > something stupid. That could w

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Randal Rust
On Thu, Aug 27, 2009 at 2:56 PM, Chuck Reeves wrote: > When you need to explain something to Lay people I find that its easier to > try and equate it to something universal. > > If they are librarians, you can tell them that its like having a book shelf > that is full and when a new book that come

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Randal Rust
On Thu, Aug 27, 2009 at 2:55 PM, Hall, Leam wrote: > Would it work to have key phrases tied to data stores? That way you could > link to it and get all the articles on Valley Forge just by updating the > datastore? In the current version of the system, that is what we do. Users can create a list

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread John Campbell
On Thu, Aug 27, 2009 at 2:46 PM, Randal Rust wrote: > On Thu, Aug 27, 2009 at 2:42 PM, Hall, Leam wrote: > >> Maybe a nightly or weekly rebuild? Depends on frequency of updates. > > Conceptually, that makes sense. It is certainly something to consider. > However, these clients are typically librari

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Chuck Reeves
> > Conceptually, that makes sense. It is certainly something to consider. > However, these clients are typically librarians, historians and other > public sector-type minds. I will have to figure out how to explain > that to them in their language:) When you need to explain something to Lay peop

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Randal Rust
On Thu, Aug 27, 2009 at 2:50 PM, Glenn Powell wrote: > Ah. New article titles are based on phrases from pre-existing content. Yes. What usually happens in these projects is that a team of writers cranks out roughly 300-600 articles on various subjects. After the site launches, the core editorial

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Hall, Leam
Would it work to have key phrases tied to data stores? That way you could link to it and get all the articles on Valley Forge just by updating the datastore? Leam From: Glenn Powell Sent: Thu 8/27/2009 2:50 PM To: NYPHP Talk Subject: Re: [nyphp-talk] Dynamically Add Links to Text Ah. New ar

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Glenn Powell
Ah. New article titles are based on phrases from pre-existing content. On Aug 27, 2009, at 2:37 PM, Randal Rust wrote: On Thu, Aug 27, 2009 at 11:40 AM, Glenn Powell wrote: Maybe altering the existing articles is a one time process? Unfortunately, no. These sites are encyclopedias, so whe

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Randal Rust
On Thu, Aug 27, 2009 at 2:42 PM, Hall, Leam wrote: > Maybe a nightly or weekly rebuild? Depends on frequency of updates. Conceptually, that makes sense. It is certainly something to consider. However, these clients are typically librarians, historians and other public sector-type minds. I will ha

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Hall, Leam
Maybe a nightly or weekly rebuild? Depends on frequency of updates. Leam ___ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show_participation.php

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Randal Rust
On Thu, Aug 27, 2009 at 11:40 AM, Glenn Powell wrote: > Maybe altering the existing articles is a one time process? Unfortunately, no. These sites are encyclopedias, so when you add articles to it. For example, let's say I have an article about George Washington, which I added on day one, and men

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Glenn Powell
Maybe altering the existing articles is a one time process? Just once to add the links, based on a hash of known article titles to date. For future articles; I don't see how a pre-existing article could have made reference to an article title that hasn't been published yet. That would me

Re: [nyphp-talk] Working with designers

2009-08-27 Thread tedd
At 3:05 PM -0400 8/26/09, li...@nopersonal.info wrote: That is IF they even have enough sense to ask. Most times it's more like a demand: "I need to do X, Y and Z by the end of the month, but I have neither the time nor the desire to learn anything technical. Tell me how to accomplish this ASAP!"

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Paul A Houle
Randal Rust wrote: The trick is that when a new article is added, they system needs to automatically go back to all of the existing articles and run through this process, which I don't like, because this won't be 100% accurate in the editor's eyes. each updated article needs to be reviewed. I als

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Chuck Reeves
I think the best way to tackle this would be look for titles of articles when you posting a new article and just update the text when the editor is going to save the article. Since you can store the title of articles as a field in your database, you can then go and quickly find if the article cont

[nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Randal Rust
In one of our applications, we have a need to apply inline links to the text, and would like to figure out a way to do this dynamically. I have looked for this high and low, but haven't been able to find what I am looking for. Perhaps I am searching the wrong keywords. What we have is a repository

Re: [nyphp-talk] Working with designers

2009-08-27 Thread li...@nopersonal.info
Daniel Convissor wrote: > Well, I'll be darned. I just assumed it was made up because it sounds > obfuscatory. Thanks for the correction. Well it is intended to be obfuscatory, just not in the way you thought. :-) > Ramadan mubarak. Thanks! > Alas. Hopefully we'll meet up sooner or later.