DateCompare or Diff? To determine if the Current Date is the Weekend or a Weekday

2008-05-13 Thread Nate Willard
Any suggestions on how to determine on Request, if the current date/time is a weekday or weekend? Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: DateCompare or Diff? To determine if the Current Date is the Weekend or a Weekday

2008-05-13 Thread Nate Willard
@houseoffusion.com Sent: Tuesday, May 13, 2008 9:27:16 PM Subject: RE: DateCompare or Diff? To determine if the Current Date is the Weekend or a Weekday Check out DayOfWeek(Now()). IIRC 1=Sun, 7=Sat -Original Message- From: Nate Willard [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 13

Re: CFHTTP resolving URLS?

2008-05-04 Thread Nate Willard
there, then that data point isn't available. You could always use an alternative to cfhttp, such as some Java function or maybe calling a program like wget using cfexecute. Good luck, Mike Chabot On Sat, May 3, 2008 at 11:31 PM, Nate Willard [EMAIL PROTECTED] wrote: Hello all, Quick question

CFHTTP resolving URLS?

2008-05-03 Thread Nate Willard
Hello all, Quick question. If I have a URL such as: http://feeds.feedburner.com/~r/Techcrunch/~3/283066435/; Which resolves to: http://www.techcrunch.com/2008/05/03/yahoo-responds/; When I call http://feeds.feedburner.com/~r/Techcrunch/~3/283066435/; in the first CFHTTP, its automatically

Storing Records Weekly in the database - Ideas on how to record the week

2008-04-22 Thread Nate Willard
Hello, I'm working to build a system that stores a set of records every week. Can anyone offer suggestions on how to best save these records in the DB? Should I have a column 'datetime' and have the result be the Sunday of the week, for example this week's records all with the datetime:

Re: Storing Records Weekly in the database - Ideas on how to record the week

2008-04-22 Thread Nate Willard
, April 22, 2008 11:32:33 AM Subject: Re: Storing Records Weekly in the database - Ideas on how to record the week Nate Willard wrote: Hello, I'm working to build a system that stores a set of records every week. Can anyone offer suggestions on how to best save these records in the DB

Re: Storing Records Weekly in the database - Ideas on how to record the week

2008-04-22 Thread Nate Willard
column, weeknbr column, day column (day of week) and then the starttime and endtimes were numbers e.g. 13.5 would be 1:30pm.. then we didnt have to worry about client/server times.. On Tue, Apr 22, 2008 at 1:25 PM, Nate Willard [EMAIL PROTECTED] wrote: Hello, I'm working to build a system

Re: Storing Records Weekly in the database - Ideas on how to record the week

2008-04-22 Thread Nate Willard
the date and time.. dateformat() formats the date in whatever way you want.. I've always saved formatting for the output.. On Tue, Apr 22, 2008 at 1:58 PM, Nate Willard [EMAIL PROTECTED] wrote: Ian, Great point about the years, I feel silly for not think of that. Can anyone recommend a way

Re: Storing Records Weekly in the database - Ideas on how to record the week

2008-04-22 Thread Nate Willard
On Tue, Apr 22, 2008 at 12:24 PM, Nate Willard [EMAIL PROTECTED] wrote: Greg, I think its more complicated than that, but I might be over thinking this... If I want to records weekly and lets say I ran those records today Todays date is 4/22/2008 But, I would need to insert those

CreateObject - ALl of a sudden starts timing out - Any ideas why?

2008-04-03 Thread Nate Willard
Any ideas why the following code below would suddenly start timing out on the server? cfscript imgObj = CreateObject(java,java.awt.image.BufferedImage); imgRdr = CreateObject(java,javax.imageio.ImageIO); f =

Re: Search Engine Safe/Friendly URLS

2008-03-28 Thread Nate Willard
But that would turn Blah is the movie's ending's into : blah-is-the-movie-s-ending-s right? It doesn't handle punctuation? Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 28 Mar 2008, exH wrote: With a plus on the end [^a-zA-Z0-9]+ Ahh, yes. May or may not be what the OP wants, but I think

Re: Search Engine Safe/Friendly URLS

2008-03-28 Thread Nate Willard
redashed? Thanks! Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 28 Mar 2008, Nate Willard wrote: But that would turn Blah is the movie's ending's into : blah-is-the-movie-s-ending-s right? It doesn't handle punctuation? It does what it says on the tin :-) If you want to remove all the ' first

Search Engine Safe/Friendly URLS

2008-03-27 Thread Nate Willard
I'm working to turn the follow below into a friendly URL. Who watched Jay Leno's Show [Last Night] I tried using: cfset newUrl = reReplaceNoCase(arguments.theString, \W, -, ALL) But that results in Who-watched-Jay-Leno-s-Show--Last-Night-- Is there a regex that can do this task in a way to

How to obtain just the domain from a URL

2008-03-25 Thread Nate Willard
Would I use a REGEX to achive this? Or some other method? Start with something like: http://www.popularmechanics.com/technology/military_law/4255750.html End up with: popularmechanics.com Example 2 Start: http://blogs.abcnews.com/politicalpunch/2008/03/dnc-official-cl.html End:

Re: How to obtain just the domain from a URL

2008-03-25 Thread Nate Willard
I hadn't used GetToken before very interesting. What's the breakdown on best practices on GetToken versus Regex? Your code works well. thanks for the example. The third example returns the www. though, is there a ways to exclude that in the one line of GetToken? Thanks Web Specialist [EMAIL

Re: How to obtain just the domain from a URL

2008-03-25 Thread Nate Willard
listGetAt(url, 2, '/') works very well too, thanks! it does return the www. though, is there a way in the same line to remove the www without needed a www. replace ? Thanks Nicholas M Tunney [EMAIL PROTECTED] wrote: Good call. That behavior frustrates me ;) Nic Charlie Griefer wrote:

Perhaps a little over complicated - Dissecting a String

2008-03-24 Thread Nate Willard
Give a String such as: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut magna lectus, tristique in, convallis sed, eleifend in, nulla. Nullam vulputate velit a urna. Vestibulum ultrices interdum est. Aliquam erat volutpat. Vestibulum ut massa ut diam dignissim vestibulum. Donec orci

Re: Perhaps a little over complicated - Dissecting a String

2008-03-24 Thread Nate Willard
These are all good steps in the right direction however, I haven't found anything that ties all this logic together. Logic if first sentence is between 200-250 characters show that setence if no sentence, show first 250 characters +... if first sentence is less than 250 sentences, get as many

RE: Perhaps a little over complicated - Dissecting a String

2008-03-24 Thread Nate Willard
# -Original Message- From: Nate Willard [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 7:23 PM To: CF-Talk Subject: Re: Perhaps a little over complicated - Dissecting a String These are all good steps in the right direction however, I haven't found anything that ties all this logic

Re: Ability to obtain the width height of an Image given a URL to the image

2008-03-03 Thread Nate Willard
This is fantastic and works. Thanks so much for your help. I've spent hours unsuccessfully on this. Graham Bates [EMAIL PROTECTED] wrote: i have used this with success but note that the image has to be available via http imgObj = CreateObject(java,

Regex Advice

2008-03-03 Thread Nate Willard
I'm using the following RegEx cfset temp = reGET(images[i],(|')(.*)(gif|jpg|png)) The challenge I'm having is that it is returning: 0 height=45 width=60 src=http://i.l.cnn.net/cnn/video/world/2008/03/03/vo.germany.plane.close.call.liveleak.60x45.jpg instead of:

RE: Regex Advice

2008-03-03 Thread Nate Willard
to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer / ColdFusion Programmer http://William.Seiter.com -Original Message- From: Nate Willard [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 4:43 PM To: CF-Talk Subject: Regex Advice I'm using the following RegEx

RE: Regex Advice

2008-03-03 Thread Nate Willard
Thanks Bobby your code appears to be working perfectly. Bobby Hartsfield [EMAIL PROTECTED] wrote: rereplace(img, '.*?( :.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Adobe® ColdFusion® 8 software 8

Re: Regex Advice

2008-03-03 Thread Nate Willard
I'd never heard of CF_REextract. Thanks for bring this up Claude Schneegans [EMAIL PROTECTED] wrote: I'm using the following URL and working to obtain all the image absolute paths: May be you should have a look at CF_REextract :

Ability to obtain the width height of an Image given a URL to the image

2008-03-02 Thread Nate Willard
Hello, I've been unsuccessful in CF7 to be able determine an image's dimensions given a URL to the image. I tried imageCFC and had no luck. I also tried some Java tricks online but had no luck. Can anyone suggest a solution? Thanks

Tutorial Recommendation

2008-02-09 Thread Nate Willard
Hello all, I'm in search of a tutorial that shows the following: How to have a module on your page load its content after page load. The reason being there is a module on my page that takes time processing and I'd like to save the user experience by having that processing happen after page load.

Looking for a developer...

2008-02-07 Thread Nate Willard
Hi everyone, A client of mine is looking for a coldfusion developer to re-engineer their site. The design is already underway and being handled by an agency. The project at a high-level entails coding the site from scratch and implementing a CMS. If interested, please email me directly with

Re: CF and Scheduled Tasks...

2008-02-05 Thread Nate Willard
What is a BAT file? --- Ian Skinner [EMAIL PROTECTED] wrote: Possible to meet this requirement: YES. Schedule a task that only runs on M-W-F: NO. The way to work this is to schedule a task that runs every day. The first thing the scheduled template does is use date functions to see

RE: Paperthin's Commonspot

2008-01-31 Thread Nate Willard
CommonSpot spot is really expensive... What do you get from CommonSpot that FarCry does not provide for free? Other than the hosted solution option, which is great... N --- Dave Watts [EMAIL PROTECTED] wrote: FarCry is open source but you will see lots of companies like Figleaf and

Re: My latest Coldfusion Project for your Review

2008-01-31 Thread Nate Willard
ok that's awesome. Its nice to see something new and fast. I especially like how its new and fast! :) how'd you come up with the idea? How long did it take to build? Who did the design and algorithms? --- BA Hellman [EMAIL PROTECTED] wrote: Hi Everyone, Take a bunch of interesting feeds,

Email Hosting Recommendation Request - Semi-Emergency

2008-01-30 Thread Nate Willard
Hi Everyone, I've been using Y!'s Small Business email hosting solution for a month or so now. I recently learn the hard way that one of the account was not working correctly. After working with Yahoo!'s support team and continuing frustration with their broken web admin panel I have decided I

Re: Email Hosting Recommendation Request - Semi-Emergency

2008-01-30 Thread Nate Willard
:29 PM, Nate Willard [EMAIL PROTECTED] wrote: Hi Everyone, I've been using Y!'s Small Business email hosting solution for a month or so now. I recently learn the hard way that one of the account was not working correctly. After working with Yahoo!'s support team and continuing

CFCOOKIE - how to handle, subdoman and domain authentication

2008-01-30 Thread Nate Willard
Hello (last question today - promise) I have the following two domains domain.com subdm.domain.com Both these domains use the same login system however, I'd like each site to have an individually unique cookie. So if a user logs into a main domain (domain.com) it does not carry over to the

RE: CFCOOKIE - how to handle, subdoman and domain authentication

2008-01-30 Thread Nate Willard
Dave, Thanks for the reply. Could you provide an example by what you mean by different name? They use the same login system, I just need it to be specific to the main domain or a unique subdomain. Does that makes sense? Thanks --- Dave Watts [EMAIL PROTECTED] wrote: I have the following two

CMS Solution Recommendations

2008-01-29 Thread Nate Willard
Hello, Can anyone recommend a Coldfusion CMS solution? Also, is your recommendation currently supported? I look at FarCry and it seems that the web site and code hasn't been updated in 2 years? Thanks ~| Adobe® ColdFusion® 8

Re: Is there a safe way to offer a Send to a Friend(email) feature without the concern of a Spam Bot?

2008-01-28 Thread Nate Willard
Thank you everyone for your suggestions. --- Jochem van Dieten [EMAIL PROTECTED] wrote: Nate Willard wrote: Has anyone solved this and made such a tag/module available? I have always been able to convince clients to use a href=mailto:?subject=xxxbody=yyy;Mail to friend/a The main

Re: Has anyone here built a solid RSS Ingest system?

2008-01-27 Thread Nate Willard
Thanks Don --- Don L [EMAIL PROTECTED] wrote: A system that would ingest stories from 1+ rss feeds? I think so. And in my view, there are at least two techniques to handle exception gracefully using CFTHREAD tag. a) the timeout attribute, this is an easier way to implement; b) using

Is there a safe way to offer a Send to a Friend(email) feature without the concern of a Spam Bot?

2008-01-27 Thread Nate Willard
Has anyone solved this and made such a tag/module available? My site's users are demanding such a feature. I've never use the Send to Friend but to my surprise a lot of people do. I'm concerned that adding this feature will welcome spam bots as most send to friend features offer a Message Input

Has anyone here built a solid RSS Ingest system?

2008-01-25 Thread Nate Willard
A system that would ingest stories from 1+ rss feeds? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive:

White Space Eliminator

2008-01-21 Thread Nate Willard
hello, I learned of of an issue with my whitespace reduction method that is almost funny. I do the following to remove whitespace cfsavecontent variable=pageholder_tboutputed PAGE CONTENTS... /cfsavecontent cfset pageholder_tboutputed =REReplace(pageholder_tboutputed, [[:space:]]{2,},,ALL)

Re: poll - How many MS should it take to load a site's home page?

2008-01-21 Thread Nate Willard
, at 08:34, Nate Willard wrote: Looking forward to hearing everyone's thoughts. How many milliseconds should it take for a site's home page to load? ~| Adobe® ColdFusion® 8 software 8 is the most important

poll - How many MS should it take to load a site's home page?

2008-01-20 Thread Nate Willard
Looking forward to hearing everyone's thoughts. How many milliseconds should it take for a site's home page to load? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: Cookie Question - Is this implementation even a good performance/technical Idea?

2008-01-20 Thread Nate Willard
james, Thanks for the reply. My hesitation with using cf client variables is that I'd need to enable clientmanagement, which I currently don't have enabled. Wouldn't that add a lot of extra overhead for this one feature I'd like to add? Also, doesn't clientmanagement then append a CFID to the

Cookie Question - Is this implementation even a good performance/technical Idea?

2008-01-17 Thread Nate Willard
I'd like to implement the following feature: the first time a user visits my site, if cookie visitedSite does not exist, the site display a div welcoming the user etc... End goal, on a person first visit, they are given a nice welcome intro message. on subsequent visits when the site checks

Tricky String, Taking a string of 2 word say FNAME LNAME and returning FNAME L

2008-01-17 Thread Nate Willard
Tricky String, Taking a string of 2 word say FNAME LNAME and returning FNAME L Basically I'm investigating a efficient way to take a string of x words, likely 2 or 3. Display the first word, the person's first name and then just the First character of the last word. Example 2: James A Bond,

Re: Tricky String, Taking a string of 2 word say FNAME LNAME and returning FNAME L

2008-01-17 Thread Nate Willard
= listAppend(newStr, left(idx, 1), ' ') / /cfloop On Jan 17, 2008 5:31 PM, Nate Willard [EMAIL PROTECTED] wrote: Tricky String, Taking a string of 2 word say FNAME LNAME and returning FNAME L Basically I'm investigating a efficient way to take a string of x words, likely 2 or 3. Display

Re: Feeburner Management API - Has anyone used this to create a feed?

2008-01-14 Thread Nate Willard
it out in the documentation, if it could be useful to you. Jayesh -Original Message- From: Nate Willard [mailto:[EMAIL PROTECTED] Sent: Monday, January 14, 2008 12:57 PM To: CF-Talk Subject: Feeburner Management API - Has anyone used this to create a feed? Hey again

Re: Output a Query by Date DESC, with A month, Day header were applicaple.

2008-01-13 Thread Nate Willard
PM, Nate Willard [EMAIL PROTECTED] wrote: I've been struggling with a desired output. I'm eager to hear everyone's thoughts and ideas on how to efficiently achieve my goal. Thanks... agreed with Jim... you probably want to use the 'group' attribute of cfoutput. http://tutorial150

Email Validation Question, Possible RegEx required?

2008-01-13 Thread Nate Willard
Morning, I'm currently working to add an address book importer (PLAXO) to a site. The address book importer returns the emails in the input box as follows: FNAME LNAME [EMAIL PROTECTED], FNAME LNAME [EMAIL PROTECTED], FNAME LNAME [EMAIL PROTECTED], I'd like to come up with a way to take that

Feeburner Management API - Has anyone used this to create a feed?

2008-01-13 Thread Nate Willard
Hey again, Has anyone used the Feedburner Management API in Coldfusion to App feeds? I have to make well over 100 feeds, and am interested to learn if this has been done already in Coldfusion or if I'll need to start from scratch. Thanks again for all the help. N

Output a Query by Date DESC, with A month, Day header were applicaple.

2008-01-12 Thread Nate Willard
I've been struggling with a desired output. I'm eager to hear everyone's thoughts and ideas on how to efficiently achieve my goal. Thanks... I have a query that returns the following data: TITLE - dateTime The results span past a month. I would like a way to output the results as follows

Re: Output a Query by Date DESC, with A month, Day header were applicaple.

2008-01-12 Thread Nate Willard
this or have ideas on how to achieve? Thanks N --- Nicholas M Tunney [EMAIL PROTECTED] wrote: What does the query look like? Wouldn't it already only be returning only dates with results? Post the query and I'm sure we can help. -Nic Nate Willard wrote: I've been struggling with a desired