Re: Creating RSS feeds

2006-06-21 Thread Roger Benningfield
Ben: A few things to consider...

(1) Make sure your rss:titles are plain-text + XML entities... aggregators will 
do unpredictable things with HTML in a title, due to the spec's silence on the 
matter.

(2) Aggregators will expect your rss:descriptions to be escaped HTML, so code 
accordingly.

(3) Most web-based aggregators and many of their desktop cousins will strip 
potentially dangerous HTML from your rss:descriptions and other elements. So if 
you want to style your text, you'll need to use Ye Olde font and avoid @style 
attributes.

(4) Make sure you get the RFC-822 date format correct in your feed... lots of 
first-timers fudge things up a bit and end up with unparseable timestamps.

(5) The rss:guid element encourages you to use an entry's permalink as the id. 
If your URIs are really nice from the outset, that may be fine... but if you're 
the type who tinkers with his code a lot, I'd advise setting @isPermaLink to 
false and sticking a unique, opaque string in there instead. Otherwise, you're 
going to fiddle with your blog code one day and accidentally spam a bunch of 
aggregators with dozens of duplicate entries.

--
Roger Benningfield
JournURL
http://admin.mxblogspace.journurl.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244364
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: RSS Aggregation?

2006-04-19 Thread Roger Benningfield
Currently the site is aggregating ~500 RSS feeds, but checking these feeds
is growing to be a pain in the butt.  Having to get CF to check each of
these feeds regulary (ideally every 15 minutes) is more difficult than it
sounds.

Neil: Polling every fifteen minutes is an enormous waste of CPU and 
bandwidth... for both you and the source sites. For example, if you're 
aggregating individual blogs, once every 24 hours will cover the vast majority 
just fine. Ideally, you'd either opt for some middle ground (once an hour or 
so), or come up with adaptive code that spaces out polling based upon observed 
update periods.

But even if you're gonna stick with over-polling (a good way to get your IP 
blocked), there are places to optimize:

* Use Conditional GET... since 90% of feeds won't have seen an update in the 
last fifteen minutes, you've saved nearly 90% of your server's effort.

* Make your spider compatible with RFC 3229. It won't help in most cases, but 
some high-flow publishers (Microsoft, etc.) will send you deltas of their 
sliding-window feeds. That'll cut down on parsing time.

* Try CFX_HTTP5 in async mode.

--
Roger Benningfield
http://admin.mxblogspace.journurl.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238116
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: RSS Aggregation?

2006-04-19 Thread Roger Benningfield
 One thing I have noticed with the CF community is that the RSS feeds 
 that are published seem to be all over the place, some doing things 
 one way, some doing it another.

Neil: Pete Freitag and I have both published tips for getting CF-based feeds to 
provide the correct headers and HTTP responses, but it's always gonna be an 
uphill battle. Most of us (self definitely included) have worked on the web for 
years without any significant understanding of how the machinery of HTTP is 
meant to be used, and there are tons of bad habits to unlearn.

We'll get there eventually, though. :)

--
Roger Benningfield
http://admin.mxblogspace.journurl.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238218
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: RSS Aggregation?

2006-04-19 Thread Roger Benningfield
 RSS was originally built as a solution to provide near
 real-time updates on a site.

Jacob: The blogosphere has mechanisms to handle real-time updates, and 
syndication feeds ain't one of 'em. Never has been.

 Fullasagoog polls every 15 minutes, not
 sure how often MXNA does it.

If all they're doing is HEADing the resource, fine. If they're GETting it, then 
something's broken.

 RSS load is a common problem for 
 website
 admins, but I don't ever hear people saying I need to stop my 
 visitors
 from hitting my site so often...

You're not paying attention to the syndication community, then. :D Complaints 
about overly aggressive aggregators are common.

 But again, they didn't try to limit the
 traffic but rather dealt with the load.

Slashdot explicitly insists that feeds only be polled once every thirty 
minutes. And they've been known to block IPs.

--
Roger Benningfield
http://admin.mxblogspace.journurl.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238221
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: RSS Aggregation?

2006-04-19 Thread Roger Benningfield
I know there is a TTL equivalent in Atom 1.0/RSS 1.0...

Rob: Nope, there's no ttl equivalent in Atom 1.0. Someone brought up 
ttl/skipHours/skipDays in the IETF WG (or the pre-IETF group) at one point, and 
the consensus was that the elements are seldom used, not well understood when 
they *are* used, and largely unnecessary when HTTP is leveraged appropriately.

RSS 1.0 is a different story. There are probably twenty different extension 
elements to control frequency out there. But like most RSS 1.0 extensions 
beyond content:encoded, there's not much support. 

--
Roger Benningfield
http://admin.mxblogspace.journurl.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238227
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: RSS Aggregation?

2006-04-19 Thread Roger Benningfield
I surely thought I remembered one from
when I built my reader.

Rob: Could it have been one of the interim specs you were looking at? 'Cause 
there was all kinds of odd stuff in there at certain points... particularly in 
the pre-IETF drafts. In addition, there was (and is) a lotta stuff on the wiki 
that is foreign to the spec as well, which can be pretty confusing to 
implementors.

--
Roger

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238246
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: RSS site like fullasagoog.com

2006-03-08 Thread Roger Benningfield
Is there a standard method for providing head information for RSS
feeds?

Isaac: Yep... it's called Conditional GET. The idea is that the server provides 
ETag and Last-Modified headers on every request, and the client stores them 
away. The next time the client sends a request, it sends that info back, and 
the server determines in things have changed since the last request. If there 
have been changes, the server responds with the feed... if not, it responds 
with a 304.

Here's a couple entries on the subject...

me: 
http://admin.mxblogspace.journurl.com/?mode=articleentry=1853

Pete Freitag:
http://www.petefreitag.com/item/235.cfm

Mine is a walkthrough of the process, his is more code-specific.

Now, there's also a further step you can take to conserve bandwidth, one that 
is primarily useful with large feeds of rapidly updating info. It's described 
in RFC3229, which covers delta encoding.

Basically, the concept is this: 

- The client sends an A-IM header with a value of feed to the server, along 
with If-None-Match and If-Modified-Since. (A-IM stands for Accepts-Instance 
Manipulation.)

- The server spots the extra header and recognizes that the client supports 
feed deltas.

- Instead of returning the default feed, the server returns only the entries 
added/updated since If-Modified-Since.

- The server also returns the following with the feed: a Vary header set to 
If-None-Match, an IM header with a value of feed, and a response code 
226 IM Used.

Again, this is primarily of interest to high-volume feed producers... the 
average blog is probably better off saving the extra CPU cycles chewed up by 
the process than trying to preserve a few extra MB of bandwidth. But on the 
client side, aggregator developers should try to support it... it requires very 
little extra code, and can make a big difference in some situations.

--
Roger Benningfield
http://admin.mxblogspace.journurl.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234683
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: RSS site like fullasagoog.com

2006-03-07 Thread Roger Benningfield
Should I run a script every few minutes to check the feeds for new entries?

Yves: Only if you want to be hunted down by a bunch of irritated server admins 
for abusing their bandwidth. :)

In general, you don't want to poll a given feed more than once an hour. If you 
must poll more frequently, you should HEAD each feed before doing a full GET... 
that way you can check the headers to see if anything has changed before 
requesting a feed full of redundant items.


--
Roger Benningfield
http://admin.mxblogspace.journurl.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234582
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Query2xml/rss exist?

2006-02-28 Thread Roger Benningfield
and I believe Roger Bennefield(sp) has a much better one, although I
don't have his URL handy. He _really_ knows his RSS.

Ray: Mine doesn't help turning a query into RSS... it just turns RSS/Atom into 
a struct. All of my RSS *creation* is done with templates, and being the lazy 
type, if I don't need it, I don't write it. :)

--
Roger Benningfield
http://admin.mxblogspace.journurl.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233635
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOT: Google sitemaps

2006-01-27 Thread Roger Benningfield
Has anyone used these?

Ray: All JournURL-powered blogs produce sitemaps in three different flavors: 
RSS, text, and OPML. I haven't noticed Ray Camden's problem with the .cfm 
extension, but that could be because the sitemap format is controlled by a 
query-string parameter.

I've noticed some improvement in Google traffic since registering sitemaps for 
a couple of my personal blogs. I can't give the sitemaps all the credit, 
though, 'cause you never know what other, concurrent changes might have ad an 
impact as well.

--
Roger Benningfield
JournURL
http://admin.support.journurl.com/ (main blog)
http://admin.mxblogspace.journurl.com/ (CF blog)

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230602
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: RSS signup/hit counter

2006-01-11 Thread Roger Benningfield
 how would i be able to tell how many people have signed up for the 
 channel or added it to their readers...

There's no way to get a *true* count of unique subscribers... between all the 
republishers and intermediate aggregators out there, there's gonna be a lotta 
approximation going on.

If you're determined though, you could try something like this:

(1) On your subscription page, append a new UUID to the feed's URI on each 
request.

(2) On your feed-generation page, add some code to sniff user-agents. If it 
spots Bloglines or another big, web-based aggregator and the URI contains a 
UUID, send a 301 redirect to a version of the feed URI without the UUID.

This will give you a couple results. First, individual aggregator users will 
have their subscriptions uniquely tagged and trackable within your web 
analytics package of choice. Second, the sniffing code will keep Bloglines and 
Company from bombarding you with excess requests.

--
Roger Benningfield
JournURL
http://admin.support.journurl.com/


 that sort of thing. Is it like 
 just coding a counter on an onclick? but that's just a click. on the 
 setup or help page, i showed them the channel url... what if they just 
 copy and pasted it to their reader without clicking on it.. that's one 
 less hit
 
 suggestions?
 
thanks

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229261
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Robots.txt - - best practices

2006-01-10 Thread Roger Benningfield
When do you use a robots.txt file?

Ken: I've personally been evangelizing the use of robots.txt for controlling 
access to RSS feeds. Some publishers want to offer full-text feeds to 
individual users, but don't want that full-text harvested by robots and 
republished... robots.txt is the best means we have right for the publisher to 
exercise a little control. (The problem is getting other aggregator developers 
on board, naturally.)

--
Roger Benningfield
JournURL
http://admin.support.journurl.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229113
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: RSS Parser

2005-09-25 Thread Roger Benningfield
 Why would you need it? RSS is XML, you should be able to just write 
 your own parser...

Isaac: Unfortunately, there are rafts of broken syndication apps out there from 
authors who made the same assumption. :D

RSS is a series of specifications, most of which come with all sorts of common 
practices baggage. (A number of which contradict one another.) If you don't 
know both specs and practices, you can't effectively write a generic parser. 
Particularly when you factor in Atom.

Now, if you're just trying to make use of a single feed from a known, 
consistent producer, or if you're really, truly dedicated to diving into 
syndication minutiae, then rolling your own makes some sense. But I promise, it 
ain't simple. If it were, we wouldn't have spent two years building Atom 1.0.

--
Roger Benningfield
JournURL
http://admin.support.journurl.com/
http://admin.mxblogspace.journurl.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219184
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Win 2003

2005-09-19 Thread Roger Benningfield
Can any one advise quickly if CF 5 and CF MX 6 will run on Win 2003
Server

Kevin: MX definitely does. Someone with CF5/Win2k3 experience will have to 
speak to that particular combo.

--
Roger Benningfield
JournURL
http://admin.support.journurl.com/
http://admin.mxblogspace.journurl.com/

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218668
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Editing the IIS metabase using cfmx7

2005-09-05 Thread Roger Benningfield
Ryan: I started fiddling with the XML metabase at one point, learned how messy 
and compromised the XML is, and decided to just CFEXECUTE .vbs scripts instead. 
But I'll definitely be watching to if anyone has suggestions for you.

--
Roger Benningfield
JournURL
http://admin.support.journurl.com/
http://admin.mxblogspace.journurl.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217345
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF and blogging API

2005-08-23 Thread Roger Benningfield
i'm actually using the invaluable xmlrpc.cfc component from Agincourt Media 
and
it works fine.

Andrea: Good to hear.

only that it seems that any client application has different ways of doing 
the same things :(

Yep, they really do... ditto for the server applications. The problem is a 
result of some folks ignoring specs, and some folks creating new ones. You 
basically have three choices:

(1) Strictly adhere to the metaWeblog API, and simply come up with a list of 
clients that are compatible with you. Sadly, that's only going to amount to a 
handful.

(2) Ignore the spec and try to duplicate whatever Movable Type is sending down 
the wire. You'll get broader client support that way, but you'll be chasing the 
moving target of someone else's implementation.

(3) Strictly adhere to the original Blogger API. You'll be able to use just 
about every client app ever made, but you'll face serious limitations in the 
way of features.

There are other free client other than w.bloggar i can test?

Try the one built into Newzcrawler (http://newzcrawler.com/)... it's a touch 
flaky, but much better than most. Also look into Qumana (http://qumana.com/)... 
they've demonstrated a desire to follow the specs as best they can. Most of the 
rest (ecto, BlogJet, etc.) are very MT-centric, and will give you fits when it 
comes to things like category handling.

Personally, I'd recommend implementing a mail2blog interface and saving 
yourself the trouble. I've had the option to post entries via a third-party 
client for at least a couple years no, but I've never once used it for a real 
entry... meanwhile, I post via email from my cellphone all the time.

The real world often favors more primitive solutions that nonetheless *work*.

--
Roger Benningfield
JournURL
http://admin.support.journurl.com/
http://admin.mxblogspace.journurl.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216149
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RSS and Clouds

2005-07-25 Thread Roger Benningfield
I noticed that the information about RSS 2.0[.1] has been updated on
the harvard site since the last time I looked...

As Adam mentioned, rss:cloud isn't new... it's been in there for years. And I 
can confirm that there have been very, very few implementors. If PubSub's 
Atom-over-XMPP thing becomes popular, rss:cloud and the associated XML-RPC 
infrastructure might see a resurrection... but don't hold your breath.

--
Roger Benningfield
JournURL
http://journurl.com/
http://admin.support.journurl.com/

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212758
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RSS Version Justification?

2005-06-02 Thread Roger Benningfield
...or if 
just going to 2.0 will be ok?

There's no compelling reason to use RSS 0.x for much of anything these days. 
Going with 2.0 will be fine.

--
Roger Benningfield
http://journurl.com/
http://admin.support.journurl.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208444
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Rss feeds... modified since... ?

2005-04-13 Thread Roger Benningfield
Is there a way to check the timestamp on an rss feed before actually
having to retrieve the entire feed?

http://admin.mxblogspace.journurl.com/?mode=articleentry=1853

--
Roger Benningfield
JournURL
http://admin.support.journurl.com/

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202688
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Post an XML doc to a URL

2005-03-05 Thread Roger Benningfield
My first thought is to use cfhttp... am I on the right road here?

Everardo: Try this...

cfhttp method=POST url=http://your.target.site/;
cfhttpparam name=param1 value=#yourxml# type=XML
cfhttpparam type=Header name=Accept-Encoding value=deflate;q=0
cfhttpparam type=Header name=TE value=deflate;q=0
/cfhttp

The latter two params will protect you from a connection bug that crops up when 
hitting some sites using GZip compression.

--
Roger Benningfield
free blogspace for CF/Flash devs
http://mxblogspace.journurl.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197606
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using email msgs for data entry

2005-01-17 Thread Roger Benningfield
Has anyone done this before (in any language) and can they comment?

Don: My blogging service has been doing mail-to-blog stuff for a few years now. 
It's pretty much vital for photoblogging from a camera phone, since sending an 
email is one of the few things most phones are optimized to do.

Basically, you need to bear a number of things in mind:

(1) Authentication. This usually involves having the user send to a secret 
address or an address containing a username/password. So you'll either need to 
create post office aliases for each user, or set up a catch-all mailbox and 
have it capture everything for you.

(2) Because of the incredible variety of email apps and configurations out 
there, you more or less have to resign yourself to letting some poorly-formed 
content into your app. You can fight it with an unending array of filters (I 
did, for a long time), but I've found it's ultimately better to just accept 
that the important thing is the content itself... if it gets too mangled, it 
can always be edited with the app's native interface.

(3) Your app probably accepts (and expects) data that's far richer than you can 
get out of a typical user with a typical mail client. So you'll need to look at 
your app and identify a sensible array of defaults for advanced settings that 
can't be expressed via to, from, subject, and body fields.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/

~|
Logware: a new and convenient web-based time tracking application. Start 
tracking and documenting hours spent on a project or with a client with Logware 
today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190725
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: Best CF Blog 2004

2004-12-22 Thread Roger Benningfield
Infact, what I specifically
dont like about blogs is that eveyone has one.

Adam: Sadly, everyone *doesn't* have one... but we're getting there. Thanks to 
network effects, every new blog just broadens the base of my knowledge, 
enriches the online experience, and generally makes the world a better place.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188590
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: XPATH and RDF XML

2004-11-08 Thread Roger Benningfield
cfset newsitems= XmlSearch(newsobj, //item)

Paul: Try this instead...

cfset newsitems = XmlSearch(newsobj, //*[name()='item'])

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.mxblogspace.journurl.com/

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183590
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Blogging APIs

2004-08-10 Thread Roger Benningfield
 For instance, Roger you mention abovei using GetHttpRequestData()... 
 but how?

Jake: Today is my birthday, so I'm not going to be able to go into anything extensive here. And there's only so in-depth I can be anyway, since blogging is my business and there's a fine line between being helpful and commercially suicidal. :D

That aside... the idea is that you have a page like xmlrpc.cfm, and you point your client app at it. The client is going to POST an XML-RPC packet to that page. To make use of that packet, you need to retrieve it and feed it to xmlrpc.cfc to have it converted into a CFML struct. That's where GetHttpRequestData() comes in.

cfset myxmlrpc = GetHttpRequestData().content

Feed the results into the CFC and you're on your way.

 With the CFC, how do you actually put it to use? Is there 
 documentation for this CFC?

Yup, but Macromedia owns it. Check out DRK5 for a tutorial.

 I've not done much with this stuff, so I need some pretty ground level 
 help! :)

I feel your pain. When I was alpha-testing the current version of JournURL in late 2002, there was zero userful XML-RPC and RSS info available in the CF world. That's why I went ahead and released the CFC... it's one thing for folks to pull themselves up by their bootstraps, but quite another to expect them to make their own boots first.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Blogging APIs

2004-08-09 Thread Roger Benningfield
Jake: They're not FORM posts... they're raw XML. GetHttpRequestData().content is your friend.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: hosting blogs

2004-07-31 Thread Roger Benningfield
 ...but either of these systems offer more functionality 
 and are more mature and stable than any CF solution I've 
 seen to date.

Michael: Hey now... I'll put JournURL's raw feature set up against anything on any platform, including MT and WP. I promise, I'll win as many feature battles as I lose.

However, I probably deserve to lose the maturity bout, despite the fact that the app's prototype debuted in 2001... if I can ever scrape up the cash, I need to hire someone to rebuild the interface for me and write some documentation, so I can concentrate on the engine itself. (I'm not holding my breath on that one, though.)

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: hosting blogs

2004-07-29 Thread Roger Benningfield
We are thinking about hosting blogs on our server. Does anyone know of a 
multiple user blog application in ColdFusion?

Doug: Both JournURL and Blog-City are multi-user and CFML, but they're services rather than self-installed apps. I believe Ray is working on multiple blogs for his CFC, which might end up suiting your needs.

If you don't absolutely need CFML, you might consider giving Drupal a shot. I haven't used it personally, but its feature set is very similar to JournURL's, and it's free... might be worth the PHP pain. :)

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: ColdFusion Blogging Tool

2004-06-23 Thread Roger Benningfield
Roger, yes we do need to be self-hosted. MovableType does look to be a
very decent app. But has anybody here used Drupal?

George,

One thing to bear in mind is that MT and Drupal are very different apps. Drupal is similar to JournURL, in that it's a community-building tool... if all you want is to host a handful of straighforward blogs, a community platform may be overkill. Something like MT or WordPress will likely be easier to set up and work with.

If you need (or just want) all the extra stuff, though, there's not much in the open-source, self-hosted world that does what Drupal does.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: ColdFusion Blogging Tool

2004-06-22 Thread Roger Benningfield
By the way, is there a cf-based (or otherwise) blog that can be
installed for multiple users on the same server. I know Ray's blog can
be used for this, but then it would mean about a hundred datasources.
Anything database-driven?

George,

Movable Type, WordPress 1.2, probably TextPattern, and so on. *Most* blogapps support multiple authors/blogs at this point.

Do you need to be self-hosted? If not, drop me a line... a dedicated JournURL community can host as many authors and individual/group blogs as you need.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: ColdFusion Blogging Tool

2004-06-21 Thread Roger Benningfield
 This feed actually works in most aggregators I 
 tried (about 10-12 so far).

Jake,

Yep, as they should. Most aggregator authors try to parse anything you throw at them. The number of feeds out there with invalid pubDates is staggering, so they're conditioned to simply ignore a bad date and carry on. But that can be annoying for readers... aggregators that stick to the spec (like Newzcrawler) will render all your entries with the date they were retrieved, making date sorting impossible.

 It's a fun non-standardized world, that RSS. 

It's not that bad. Just pay heed to the spec (email address in author, RFC822 in pubdate) and run everything through the feed validator to see where you're at. It's relatively painless.

The only murky areas are related to escaping in descriptions and titles, and the inexplicable problem some folks have with figuring out how to use the isPermaLink attribute on the guid element.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: ColdFusion Blogging Tool

2004-06-20 Thread Roger Benningfield
 I'd like to think, and so far I've not been proven wrong, that 
 BlogFusion has the largest amount of features of any of the CF blogs.

Jake,

Don't let yourself get carried away with that. For example, JournURL has a deeper feature-set than TypePad (and pretty much everything else), but take care to note which one of us has venture funding and which one of us is scraping to pay the credit card bills. :D Mindshare rules.

Oh, and as a head's up, you appear to be producing broken RSS. You'll usually be able to skate by with invalid author / elements, but your invalid pubDate /s will result in most aggregators simply ignoring the date info entirely. Either switch to dc:date / with W3CDTF dates, or produce full RFC822 for pubDate /.

 
--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: xmlrpc

2004-06-16 Thread Roger Benningfield
...the service would simply not like the method name for some
bizarre reason.

Craig,

Can you elaborate on simply not like the method name for me?

--
Roger Benningfield
http://journurl.com/
http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: He3 community input (custom tag paths/mappings)

2004-05-31 Thread Roger Benningfield
First, it 
requires the developer to actually configure information in a project. 
I know DWMX's project configuration annoyed me when I was used to just 
pointing Studio at a file system directory

Matt,

The key in to ensure that I can can get a feel for functionality without slogging my way through a project setup. (Perhaps bundle a series of simple Hello, World! projects that can be used to get a feel for things.) Once I'm sold, the minor investment in setup time won't be a big deal.

Second, the project's 
settings could get out of sync with the target platform thus causing 
unexpected behavior.

Throwing out ideas:

- Let me tell the app which files contain vital settings (hopefully, there won't be more than a few per project), and optionally (by default?) remind me to check my project settings when changes are made to those files.

- Let me define the settings in the project info, and then automatically insert the values into my files wherever I enter something like [$He3.CFCpath$]. If I change the value, sweep through and update my code.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.mxblogspace.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CF (BD) on CD with DB Success!

2004-05-27 Thread Roger Benningfield
 Guys, don't take this the wrong way. Isn't this going a bit far to 
 circumvent learning a new language? I mean you are basically trying to 
 fit a sqaure server peg into a round PC hole.

Adam,

Not necessarily. After all, both Userland Radio and Amphetadesk are desktop tools that do essentially the same thing... they launch HTTP servers and scripting languages (Frontier and Perl, respectively) and do all the UI work in HTML.

So there's some successful precedent for this sort of thing. 

--
Roger Benningfield
blog: 
http://admin.support.journurl.com/
MX blog hosting:
http://mxblogspace.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: ColdFusion TechNote Notification:

2004-05-07 Thread Roger Benningfield
An RSS feed for the
MM forums would be great.

I've got a set of feeds for the CF part of Macromedia's forums, but like my Fusebox forum feeds, they're just titles and links... no content. So they're super-handy if you just want to keep a casual eye on the flow of conversation, but completely useless if you're wanting to read things offline.

http://admin.mxblogspace.journurl.com/?mode=articleentry=1741

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: WYSIWYG HTML Editors...

2004-04-21 Thread Roger Benningfield
You might consider HTMLArea v3...

I can second that. I've had two different WYSIWYG editors installed within various JournURL communities... the older, open-source version of SOeditor, and HTMLArea. I'm in the process of phasing out SOeditor completely, because upgrading to the commercial version is out of the question, and after quite a bit of work, HTMLArea has surpassed most commercial apps' feature sets.

The only caveat is that copy/paste toolbar buttons don't work in Mozilla due to security restrictions... but that's the case for every Mozilla WYSIWYG I've tried.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Recommend a threaded forum application

2004-04-18 Thread Roger Benningfield
Must support CF5 and would prefer ODBC support for MySQL, but Access via
ODBC is probably sufficient for this application.Good use of CSS for
customization of the look is a must.

Jim,

I was thinking about letting you try a copy of JournURL-the-app, but then I got to the must support CF5 bit... the last pre-MX version is getting seriously long in the tooth at this point, and while it would fulfill your requirements and then some, it's even more poorly documented and quirky than the latest version.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFMyAdmin Update - New MX compatible version available

2004-04-16 Thread Roger Benningfield
Looking forward to hearing your views and comments,

Dan,

I'm just starting to play with it, but wanted to immediately mention that the app seemed completely broken on my first attempt to run it. (CFMX, Firefox on the client.) I got a CF error in the right-hand frame, and the tree control would instantly close a node as soon as I opened it.

Strangely, loading it up in IE was not only successful... it also fixed the instance running in Firefox. That's why I can't provide you with the text of the error message: upon hitting refresh, all was well.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFMyAdmin Update - New MX compatible version available

2004-04-16 Thread Roger Benningfield
And a new error:

UDI Version 3.8 requires a licence to be purchased to allow its use on myserver.com

This after right-clicking on a column name and selecting View Data.

And now I note that any attempt to click a column or table name now results in the same error until I:

(a) hit the browser's refresh button

(b) select a different database

(This is in both IE and Firefox, by the way.)

--
Roger
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Parsing RFC822 Dates

2004-03-31 Thread Roger Benningfield
Ok, how about ISO 8601 (typically used in RDF-style RSS):

Rich,

Check out this blog entry for everything you never wanted to know about CFMX and RSS dates:

http://admin.mxblogspace.journurl.com/?mode=articleentry=388

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Generating RSS feed - validating

2004-03-17 Thread Roger Benningfield
Looks like I have to drop the idea of using RSS, and go back to trying to
figure out how to show PHP site developers how to use WSDL in PHP. 

Michael,

It would probably be far easier on both sides to use XML-RPC instead of SOAP. XML-RPC support on PHP is supposedly quite stable, and you can use my XML-RPC CFC to streamline the process on the CFMX end.

xmlrpc.cfc download  docs:
http://admin.support.journurl.com/index.cfm/mode/article/entry/362

To make it a little easier, you can also use xmlrpcservice.cfc, which allows you to provide XML-RPC and SOAP webservices from the same CFC. If you want complete documentation with samples, you'll need to get a copy of DRK4... but you can get the CFC itself from:

http://admin.support.journurl.com/?mode=articleentry=938

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Generating RSS feed - validating

2004-03-16 Thread Roger Benningfield
[2]I'm not producing a defined news feed - it's a different set of data.
I thought the whole point ofXML was that you could define your own tags
and fields.Am I heading down another cul-de-sac here thinking about
attempting to produce RSS containing fields like Event, Day, Month, Year,
name, comments instead of the more usual news fields?

Michael,

Currently, there is only one popular aggregator that can make sense of arbitrary XML elements: Newsgator. That situation may (or may not) improve in the future, so counting on a roll-your-own-elements approach probably isn't going to be generally viable.

That means you're down to two choices:

(1) Put the available data in the standard elements, and drop the rest into a CDATA block inside the description /.

(2) Do some research and see if a supported extension exists that will satisfy your needs. Assuming we're talking RSS 2.0:

Events:
http://www.esfstandard.org/esfspecification0.9draft.html

Day, Month, Year:
dc:date /

Name:
dc:creator /

Comments:
comments /
wfw:commentsRss /

FWIW, it doesn't sound like the folks on the other end are going to be particularly demanding if they get *something* in the form of RSS... try option #1 and see if they're happy. It's the easiest approach, and will work for just about every aggregator.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Another Trackback question

2004-03-09 Thread Roger Benningfield
 I changed up the code to:
 
 CFHTTP 
 	METHOD=get

Jake,

That suggests you were trying to ping a really old copy of MT, or a broken, third-party implementation. The original TB spec relied on GET for everything, but it was RESTified early in 2003, with pings being handled via POST.

FWIW, I didn't see anything wrong with your original code.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: TrackBack and ColdFusion

2004-03-03 Thread Roger Benningfield
I guess I'm just having a hard time wrapping my mind around the process. 
Do you have any code or concepts you'd be willing to share?

Jake,

It may seem confusing, but it's really, really simple.

If I send a POST request to your TB URI:

(1) You store away the URL, title, and description that I sent you.
(2) You respond with an XML response packet that's defined in the spec.

If I GET the same URI:

(1) You return an RSS feed containing a list of TB pings received by 
that URI.

That's all there is to the essential workings of TB. You can
elaborate on it with server and/or client autodiscovery, you
can add query-string switches to return the list of pings in HTML
format, and so on. But all you absolutely *need* is a way to respond
to those GETs and POSTs.

If you have trouble debugging, just let me know and I'll send a ping
your way and give you a URI to ping in return.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: TrackBack and ColdFusion

2004-03-02 Thread Roger Benningfield
Has anyone integrated Moveable Type's TrackBack functionality into a
ColdFusion app yet? 

Jake,

I added Trackback to JournURL early last year. Exactly what kind of problem are you having?

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:MS Update broke security

2004-02-06 Thread Roger Benningfield
Bob,

Okay, this is pure theory... I haven't actually tested it, so it might not work at all.

(1) Change your URLs from http://#username#:[EMAIL PROTECTED]/ to http://foo.com/auth/#ToBase64(username  :  password)#/

(2) Install ISAPI Rewrite

(3) Create a rewrite condition that looks for /auth/(.*)/

(4) If authorization info is found, rewrite the URL to omit the auth info, and then set the Authorization header to the base64 string in the original URL

Again, *in theory*, you'll end up being able to authenticate without user intervention.

--
Roger Benningfield
JournURL: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:MS to change how IE handles URL parameters

2004-01-30 Thread Roger Benningfield
I don't think this has been superseded by any changes in RFC 2396, either.

Dave,

RFC 2396:

URL schemes that involve the direct use of an IP-based protocol to a
specified server on the Internet use a common syntax for the server
component of the URI's scheme-specific data:

userinfo@host:port

where userinfo may consist of a user name and, optionally, scheme-
specific information about how to gain authorization to access the
server.

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:OT: If-Modified-Since HTTP header

2004-01-13 Thread Roger Benningfield
I am not sure how can I set that header any ideas about it.

Ketan,

If-Modified-Since is a header generated by the client, not your server. What you're describing is known as Conditional GET, and here's how it works:

(1) On every request, you send a Last-Modified header with your content, with the value set to a properly formatted RFC822 date. Obviously, the date you send should be the date the page's content last changed. (This means you'll need to store the date along with the content, if you're not doing that already.)

(2) On every request, call GetHttpRequestData(), and look for an If-Modified-Since header.

(3) If you do not find such a header, or the date passed in via If-Modified-Since is earlier than your current Last-Modified date, then generate your content as you normally would.

(4) If you *do* find If-Modified-Since, and it is a match for your Last-Modified, then that means the client in question has already seen what you're offering. So send back an empty page with an HTTP 302 header.

Now, technically, you should *also* be sending an ETag header and looking for If-None-Match. But if you're only interested in optimizing for Google, and they only ask for If-Modified-Since support, then you're on your way.

--
Roger Benningfield
JournURL: http://journurl.com/
blog: http://admin.suppport.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:OT: If-Modified-Since HTTP header

2004-01-13 Thread Roger Benningfield
It's worth pointing out that you can use the CFCACHE tag to do this
automatically for you...

Dave,

Good point. I quit using CFCACHE so long ago (due to its limitations) that I tend to forget it might still be useful to other folks.

--
Roger Benningfield
JournURL: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:Lightweight blog software

2004-01-13 Thread Roger Benningfield
I'm looking for a free, VERY lightweight piece of blogging software.The
main requirement is that I have to be able to draft entries on my laptop
(offline), and then FTP a directory of files to the server and have it work.

Barney,

You can write JournURL entries offline, either via email, cellphone, or a MetaWeblog API client like w.bloggar. And it's free, as long as you're happy with the base feature set. (It takes $2.95/month to use a custom domain like blog.yourdomain.com, Urchin stats, and so on.)

You can even pull the content on to your own site simply by calling your blog's RSS feed (via CFHTTP on a schedule) and displaying it locally.

--
Roger Benningfield
JournURL: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:What are ColdFusion developers doing with Web Services?

2004-01-11 Thread Roger Benningfield
I'd especially like to know if
anyone in the ColdFusion development community is even
doing much with Web Services.

Ralph,

Pretty much everything I do is related to web services of some kind.

Macromedia's forums certainly dont see much talk about
Web Services. Macromedia MAX this year offered a
couple of seminars - but it was clear they hadn't
really yet captured the attention of most
developers...

Try looking past that to the quick adoption of RSS in the CF community. RSS is just a RESTish web service, after all.

--
Roger Benningfield
JournURL: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:CMS Solutions (Friendly URL's)

2004-01-07 Thread Roger Benningfield
Mod_rewrite is your best friend, if you've got Apache.Someone has
mentioned a port for IIS in the form of an ISAPI filter, I belive, but I
don't know.

I've had wonderful success with ISAPI_Rewrite, although I don't *think* it's an actual port of mod_rewrite. Can't say how useful the freebie version is, but the paid version hasn't given me a moment's trouble.

http://www.isapirewrite.com/

--
Roger Benningfield
JournURL: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:CMS Solutions (Friendly URL's)

2004-01-02 Thread Roger Benningfield
 Referring to URL's or URI's 
 (assumed to mean Unique Resource Identifier as opposed to Unique 
 Resource Locator)

Uniform Resource Identifier. Personally, I'm fine with the old-fashioned URL... it's in the name of my business, after all. :) But when it comes to technical discussions, I try to use the W3C's preferred terminology, and they like URI.

 
 Your critique helps me think about the problem much better. Thanks.

No problem. I've been spending a lot of time in the virtual company of hypertext junkies over the last year or so, and I've picked up on a few things along the way. Much of which runs in direct opposition to the way I've been building my apps, unfortunately. :D

--
Roger
JournURL: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:CMS Solutions (Friendly URL's)

2004-01-02 Thread Roger Benningfield
Though I'm not sure why
it's such an issue...

Isaac,

It isn't, IMO... not across the board. It's just one more piece of the URI design puzzle.

FWIW, while I've come to increasingly respect the tenets of orthodox hypertext religion, I'm far from devout. And I have no desire to preach at people who are just trying to do their jobs and earn some cash for tacos and rent. :)

First, the extension may not have anything to do
with the technology in use...

The argument would be: if it isn't conveying useful information, and isn't required by the particular server environment, why keep it in your URIs? People in restricted, shared environments may be stuck, but if you *can* rid yourself of cruft like file extensions, it's worth considering.

I could perform a case-insensitive multi-file regex search for
\.cfm[^[:alnum:]] and find all the places where I would change the
extension if I were to migrate to another technology.

URI design debates are seldom focused on what you can or can't do on your own server... it's more about the impact you're having on the Web. Search-and-replace won't change the links that exist on other folks' sites, and it won't update every RDF database out there that references a given page.

(Though as a rule I think migrating between technologies with existing
sites or products when not absolutely requiredis foolish.

Agreed. If it ain't broke... has always seemed a pretty compelling argument to me. Perhaps because I'm prone to break things. :)

Not every page on a site needs to be ranked highly on search
engines.

I think probably the most important thing for me has been to realize that search engine ranking is among the last things I need to consider when designing a URI. At this point in the evolution of blogging, syndication, and microcontent, I'm not building tools that produce web pages or sites... I'm building web services that just happen to display HTML with some frequency.

Once I started viewing things that way, I began to see URI decisions in the same light that I'd normally reserve for, say, method and parameter names in a CFC. After all, on a given day, 25% of my traffic is coming from non-browser tools like RSS aggregators, XML-RPC clients, and REST services like Trackback. The app is a document, and the document is an app.

Yep, thanks Roger...

You're very welcome.

--
Roger Benningfield
JournURL: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:CMS Solutions (Friendly URL's)

2004-01-01 Thread Roger Benningfield
Just out of curiosity, but why is the URL awful?

Bearing in mind that I create ugly URIs as often as anyone, that I am simply answering a question, and that I don't want to pick on someone else's work:

(1) URIs should describe the resource they identify, not the technology used to create it. (Data persists, but technology changes.) So ideally, .cfm and .html file extensions are no-nos.

(2) Similarly, the URI in question spends most of its length describing the internal functions of the application, not the data itself.

(3) Speaking of length... that's a long URI, which will all-too-often be mangled when passed around in email.

(4) The query names that matter to the user are either opaque (Gindex, Pindex) or tightly coupled to the nature of the request (ID_FIRM_ABOUT). All other things being equal, you're better off with the far simpler group, person, and firm. (Chances are gindex and pindex don't translate to group and person, of course, but the URI design encourages such bad guesses.)

(5) In a broader sense, query-string URIs are troublesome in and of themselves. A good URI can be used as a unique, unchanging identifier... a primary key for the Web, in other words. Since query name/value pairs can appear in any order, it's very easy to have the same application linking to ?foo=barbar=foo in one place and ?bar=foofoo=bar in another. Will the application still work? Sure. But the Web thinks you're pointing to different pages, which is only a good thing if you're trying to spam Google.

Having said all of that, thre are valid reasons to dispense with any of the above principles in a given situation, and no one is a Bad Person for doing so. But it's all worth bearing in mind as you develop.

--
Roger
JournURL
site: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:News Feeds

2003-12-22 Thread Roger Benningfield
So, where does one look for industry specific news feeds?I've been 
googling for close to three hours now and haven't come up with what 
looks like a source for this sort of thing

Have you looked at Syndic8.com and Newsisfree.com?

--
Roger Benningfield
JournURL: http://journurl.com/
Blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:Coral: CF on the desktop

2003-12-07 Thread Roger Benningfield
I'm not saying the premise is a good one -- I haven't really thought 
about personal desktop web apps.

Geoff,

Check out Radio Userland, Amphetadesk, and so on... they're just desktop web servers running scripting languages. Coral would make it relatively easy for someone with CFML skills to build versions of such apps.

Personally, I find the concept quite exciting. I just wish they would roll up a CFML-friendly, XMLParse() wrapper for their MSXML support. If performance holds up, I'll definitely be getting a license... I can see building a really robust client app that interacts with JournURL beyond the limitations of XML-RPC/SOAP APIs.

--
Roger Benningfield
JournURL: http://journurl.com/
blog: http://admin.support.journurl.com/

But there's no point making 
comparisons to full blown servers or hoping it might have components.

-- geoff
http://www.daemon.com.au/


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:Safari Issues

2003-11-27 Thread Roger Benningfield
Nevertheless, Mozilla offers a lot of technologies that aren't Web standards
(though they may utilize them).

Ah, the glories of -moz-border-radius... love those rounded corners. :D

--
Roger Benningfield
JournURL: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:CFC Web Service: ClassNotFoundException

2003-11-23 Thread Roger Benningfield
Try setting a mapping for the directory f:\websites in the ColdFusion Administrator.

Thanks for the response. Unfortunately, that was one of the first things I tried, with no success.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:CFC Web Service: ClassNotFoundException

2003-11-23 Thread Roger Benningfield
A little additional info on this problem:

(1) If it makes any difference, this is a Win2k3 box.

(2) I can confirm it's some sort of directory issue. CFCs placed inside inetpub/wwwroot work just fine, with their classes being generated directly inside the cfc-skeletons directory, even when the source is in a subdirectory of wwwroot. (Example: inetpub/wwwroot/test/)But when the source is inside my real web root (c:/foo/somesite/somedir/), the classes are generated inside cfc-skeletons/somesite/somedir/, and Axis can't find them. And no, manually copying the classes to the parent directory doesn't seem to work.

(3) I've searched the CFusionMX directory for any reference to inetpub in a config file, and the only one returned is neo-runtime.xml, and the only reference in there is for the default /CFIDE mapping.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:CFC Web Service: ClassNotFoundException

2003-11-23 Thread Roger Benningfield
When you changed the webroot, did you do that only in the web server
administration interface?

Dave,

Thanks for the response. Just the web server... I've never had to admin a production CF box before (I've always had someone else do it), so I'm not even sure how to tell CF that things have changed. And since everything except SOAP has worked flawlessly, I never even considered it.

Are you also running the built-in JRun web server
on port 8500?

Nope.

I ran into a similar problem, and basically the solution was to ensure that
both the web server and CF/JRun agreed on where the web root was.

Any suggestions on how to go about that? I've fiddled (tentatively) with the Web Server Configuration Tool, but it says that all sites are currently configured.

--
Roger Benningfield
JournURL: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFC Web Service: ClassNotFoundException

2003-11-22 Thread Roger Benningfield
Maybe I'm missing something painfully obvious, but I've Googled high-and-low without success. I've got no problem with calling CFCs directly within CFML. They can be browsed with the cfcexplorer without incident. But when I try to bring up the WSDL for any of them, I get an error. (Included below.)

The funny thing is, CF seems to be successfully creating classes within WEB-INF/cfc-skeletons, so I'm not sure why they're not found. My only guess is that it has something to do with the fact that my webroot is at f:\websites\ but it was at c:\inetpub\wwwroot\ during install. Everything else works fine, though, so I have no idea what's misconfigured.

Any ideas?

ERROR: 

Fault - [java.lang.ClassNotFoundException : apimetaweblog][; nested exception is: 
	coldfusion.xml.rpc.CFCInvocationException: [java.lang.ClassNotFoundException : apimetaweblog][

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: [java.lang.ClassNotFoundException : apimetaweblog][; nested exception is: 
	coldfusion.xml.rpc.CFCInvocationException: [java.lang.ClassNotFoundException : apimetaweblog][
 faultActor: 
 faultNode: 
 faultDetail: 

--
Roger Benningfield
JournURL - http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:RSS Feed Newbie question

2003-11-02 Thread Roger Benningfield
Michael: According to the
rules it's a simple text field which should, but does not have to have an
email address.

Out of curiosity, where are you finding that? The RSS 2.0 specification explicitly defines author as an email address. As with RSS 1.0, if you want to use a non-email identifier, use the Dublin Core creator element instead. (With a namespace declaration, of course.)

--
Roger Benningfield
JournURL
http://journurl.com/
blog:
http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:RSS Feed Newbie question

2003-11-02 Thread Roger Benningfield
Michael: According to the rules...[snip] The RSS book from O'Reilly.

For the sake of folks new to RSS, it's important to note that Ben's book is in no way related to the RSS 2.0 specification. For that, you need to visit Berkman:

http://blogs.law.harvard.edu/tech/rss

The world certainly won't stop turning if you produce invalid RSS, but I'd hate to see folks new to RSS create feeds that violate the spec without a good reason and plenty of forethought.

--
Roger Benningfield
JournURL
http://journurl.com/
blog:
http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:RSS feed

2003-10-21 Thread Roger Benningfield
There are a few things I don't like about RSS like the requirement
to use an email address in an author tag.

Michael,

So don't use author... use dc:creator instead. It'll work just fine, and doesn't have the email address restriction.

In addition, be aware that your pubDate is in the wrong format. It needs to be an RFC-822 date... see the feed from my blog if you need an operating example.

--
Roger Benningfield
JournURL
community-powered weblogs  discussion
http://journurl.com/
my blog:
http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:Good way to search XML

2003-10-18 Thread Roger Benningfield
user-list
user username=barneyb
 nameBarney Boisvert/name
 passwordmyPass/password
/username
user-list

...If you want to search that same snip by name, you
have to use XPath to get the entire user list in a CF array, and then loop
the array and search.

Barney,

Any reason you wouldn't just use:

//user[name='Barney Boisvert']

--
Roger Benningfield
JournURL
community-powered weblogs  diaries
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]