Parsing txt
Hopin I could get some help parsing bodies of text for telephone numbers or email addresses? I don't know any programming language so I can use all the help I can get. thanks in advance jim ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347536 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Parsing txt
Email: http://cflib.org/udf/getEmails Didn't see a pre-canned solution for phone but shouldn't be too difficult... On Tue, Sep 20, 2011 at 6:59 AM, Jim Mixon bigjim0...@yahoo.com wrote: Hopin I could get some help parsing bodies of text for telephone numbers or email addresses? I don't know any programming language so I can use all the help I can get. thanks in advance jim ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347537 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Parsing txt
thank you John . . . works good for emails . . . .now if I can get telephones that well I will be all set . . . jim From: John M Bliss bliss.j...@gmail.com To: cf-talk cf-talk@houseoffusion.com Sent: Tuesday, September 20, 2011 8:07 AM Subject: Re: Parsing txt Email: http://cflib.org/udf/getEmails Didn't see a pre-canned solution for phone but shouldn't be too difficult... On Tue, Sep 20, 2011 at 6:59 AM, Jim Mixon bigjim0...@yahoo.com wrote: Hopin I could get some help parsing bodies of text for telephone numbers or email addresses? I don't know any programming language so I can use all the help I can get. thanks in advance jim ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347538 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Parsing txt
Problem with phone numbers is the format, but you should be able to use the email code and modify it with regular expressions to do phone numbers. By the way harvesting can be a pain in the butt, but if you sort of know the format regular expressions are a must. And there are plenty of examples if you Google what you are looking for. For example Google phone validation will return regular expressions for many different styler of numbers, whether it be international or local. On Tue, Sep 20, 2011 at 10:25 PM, Jim Mixon bigjim0...@yahoo.com wrote: thank you John . . . works good for emails . . . .now if I can get telephones that well I will be all set . . . jim From: John M Bliss bliss.j...@gmail.com To: cf-talk cf-talk@houseoffusion.com Sent: Tuesday, September 20, 2011 8:07 AM Subject: Re: Parsing txt Email: http://cflib.org/udf/getEmails Didn't see a pre-canned solution for phone but shouldn't be too difficult... On Tue, Sep 20, 2011 at 6:59 AM, Jim Mixon bigjim0...@yahoo.com wrote: Hopin I could get some help parsing bodies of text for telephone numbers or email addresses? I don't know any programming language so I can use all the help I can get. thanks in advance jim ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347539 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
Dean, I will greatly appreciated if you can find them. I have looked everywhere and nothing pops up as obvious. There a number of people having the same issue in the last few months but no definitive answer and (unfortunately) Adobe is not very helpful. If anything the docs are wrong as ContextBytes has no effect. One will think that after 2+years since the product was released they will at least update the docs. Regards Victor On Mon, Sep 19, 2011 at 9:04 PM, Dean Lawrence dean...@gmail.com wrote: Hey Victor, Yes, I was finally able to get this working. If I remember correctly, it was a combination of editing the schema.xml and the solrconfig.xml files. However, I don't remember what updates I actually made. I will try to compare my backup files with the live files that are working. I'm pretty swamped over the next couple of days, but I will try to post my results as soon as I can. Dean On Mon, Sep 19, 2011 at 8:52 PM, Victor Moore victor.mo...@gmail.com wrote: Dean, did you find a solution to this? I have cf 901 with CHF901 installed and no luck Regards Victor -- --- Dean M. Lawrence INTERNET DATA TECHNOLOGY p // 888.438.4381 ext. 701 w // www.idatatech.com f // www.facebook.com/idatatech t // www.twitter.com/idatatech Social Marketing | SEO | Design | Internet Developmen ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347540 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Parsing txt
And don't forget that internationally telephone numbers have all sorts of formats, because I hate putting my number into USA formatted field ;) Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ -Original Message- From: Jim Mixon [mailto:bigjim0...@yahoo.com] Sent: 20 September 2011 13:00 To: cf-talk Subject: Parsing txt Hopin I could get some help parsing bodies of text for telephone numbers or email addresses? I don't know any programming language so I can use all the help I can get. thanks in advance jim ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347541 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Question on scopes
Using url variables have an advantage in that you can bookmark the page and return to it or even share the page. IF you want to hide them, you can use a form submission or even use ajax At 04:10 PM 9/19/2011, you wrote: @Jonah, Thanks for the solution. Currently, I have been using the same way as you suggested. Was just wondering if there a different way to do the same instead of passing url variables on each page, like define once, use everywhere. (in my case session/client scope have to be ruled out) Thanks. On Mon, Sep 19, 2011 at 12:10 PM, .jonah jonah@creori.com wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347542 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Question on scopes
Or you can just do Can we use Request scope in this type of situations? Request is available to all templates within the request scope but it does not persist. If you want the variable to persist, use the session scope. However remember to use an exclusive lock when setting the variable. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347543 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Generating Thumbnails of file contents
Hello to all. I know we can generate thumbnails of PDFs with cfpdf, but is there a way with CF to generate thumbnails for Word, Excel, Powerpoint, and text files? If not, is there some service some where that I can hook into for realtime conversion? Thanks. RR ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347544 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Coldfuion 9 and ORM
Hi, We have an application that uses several data sources, and have read an article (http://www.adobe.com/devnet/coldfusion/articles/coldfusion9_orm.html) that says; Hibernate integration can work with only one data source within a given ColdFusion application. If this is the case, then is there a way around this? Regards Tom Small BSc (Hons), MBCS Director J7IS Ltd Web Application Development E: mailto:t...@j7group.net t...@j7group.net W: http://www.j7group.net www.j7group.net www.re-base.net http://uk.linkedin.com/pub/tom-small/29/81a/365 http://uk.linkedin.com/pub/tom-small/29/81a/365 G: http://www.linkedin.com/e/-5vqu99-go5vt4s1-8/vgh/3930370/ http://www.linkedin.com/e/-5vqu99-go5vt4s1-8/vgh/3930370/ T: +44 (0)207 111 7768 J7 Group 31 Harley Street London W1G 9QS Company Number: 05613376 VAT Number: 924 9392 93 -- This e-mail is confidential and privileged. If you are not the intended recipient please accept our apologies; please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Please inform us that this message has gone astray before deleting it. Thank you for your co-operation. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347545 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Coldfuion 9 and ORM
Hi Tom, ColdFusino 9.0.1 Supports multiple datasources for ORM: http://www.adobe.com/devnet/coldfusion/articles/whatsnew_cf901.html http://www.silverwareconsulting.com/index.cfm/2010/7/13/ColdFusion-901-Now-Available--With-ORM-Goodies http://www.samfarmer.com/blog/index.cfm/2010/7/14/example-of-multiple-datasources-for-orm-in- Cheers, .jonah On 9/20/11 8:29 AM, Tom (J7 Group) wrote: Hi, We have an application that uses several data sources, and have read an article (http://www.adobe.com/devnet/coldfusion/articles/coldfusion9_orm.html) that says; Hibernate integration can work with only one data source within a given ColdFusion application. If this is the case, then is there a way around this? Regards Tom Small BSc (Hons), MBCS Director J7IS Ltd Web Application Development E:mailto:t...@j7group.net t...@j7group.net W:http://www.j7group.net www.j7group.net www.re-base.net http://uk.linkedin.com/pub/tom-small/29/81a/365 http://uk.linkedin.com/pub/tom-small/29/81a/365 G:http://www.linkedin.com/e/-5vqu99-go5vt4s1-8/vgh/3930370/ http://www.linkedin.com/e/-5vqu99-go5vt4s1-8/vgh/3930370/ T: +44 (0)207 111 7768 J7 Group 31 Harley Street London W1G 9QS Company Number: 05613376 VAT Number: 924 9392 93 -- This e-mail is confidential and privileged. If you are not the intended recipient please accept our apologies; please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Please inform us that this message has gone astray before deleting it. Thank you for your co-operation. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347546 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Generating Thumbnails of file contents
Convert those to PDFs and generate thumbnails? On Tue, Sep 20, 2011 at 23:11, Robert Rhodes rrhode...@gmail.com wrote: Hello to all. I know we can generate thumbnails of PDFs with cfpdf, but is there a way with CF to generate thumbnails for Word, Excel, Powerpoint, and text files? If not, is there some service some where that I can hook into for realtime conversion? Thanks. RR ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347547 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm