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
@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
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
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
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:
, 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
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
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
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
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 =
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
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
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
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:
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
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:
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
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
#
-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
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,
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:
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
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
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 :
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
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.
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
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
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
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,
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
: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
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
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
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
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
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
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
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:
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)
, 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
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
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
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
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,
= 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
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
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
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
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
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
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
52 matches
Mail list logo