re: Coldfusion and Twitter4j
Why are you using a Java lib when there is an amazing CF project that does the same? http://monkehtweet.riaforge.org/ Guust Nieuwenhuis Adobe Community Professional Mobile: +32 497 33 04 91 Skype: guustnieuwenhuis Email: i...@lagaffe.be From: Linda Burnside li...@burnsidebiz.com Sent: Wednesday, January 30, 2013 3:09 PM To: cf-talk cf-talk@houseoffusion.com Subject: Coldfusion and Twitter4j I am trying to work with java and Twitter using Twitter4j (http://twitter4j..org/). I got oAuth to work, and I was able to return a string that looks like JSON but isn't. I am no JAVA programmer. I can do something with the string that is returned, but I ran into a snag when I tried to parse it. There are commas inside single quotes that coldfusion wants to treat like a delimiter. I could parse the string if I knew how to regex and replace the commas that not inside the single quotes. That would give a delimiter other than a comma for the twitter posts. Here is my code that I'm using to return my twitter posts: cfscript configBuilder = createObject(java, twitter4j.conf.ConfigurationBuilder); configBuilder.setOAuthConsumerKey(auth.consumerKey); configBuilder.setOAuthConsumerSecret(auth.consumerSecret); configBuilder.setOAuthAccessToken(auth.accessToken); configBuilder.setOAuthAccessTokenSecret(auth.accessTokenSecret); config = configBuilder.build(); twitterFactory = createObject(java, twitter4j.TwitterFactory).init(config); twitter = twitterFactory.getInstance().getUserTimeline().toString(); /cfscript The string that it returns looks like this: Twitter looks like this: [StatusJSONImpl{createdAt=Mon Jan 14 13:32:31 EST 2013, id=290889145251946496, text='Since I have been unemployed, I've been freelancing using http://t.co/6fVzx6UX. All of a sudden, I'm very busy. Hurray!', source='web', isTruncated=false, inReplyToStatusId=-1, inReplyToUserId=-1, isFavorited=false, inReplyToScreenName='null', geoLocation=null, place=null, retweetCount=0, isPossiblySensitive=false, contributorsIDs=[J@1a7d7e5, retweetedStatus=null, userMentionEntities=[], urlEntities=[URLEntityJSONImpl{url='http://t.co/6fVzx6UX', expandedURL='http://Guru.com', displayURL='Guru.com'}], hashtagEntities=[], mediaEntities=[], currentUserRetweetId=-1, user=UserJSONImpl{id=19300560, name='linda burnside', screenName='happy_2b', location='Canton, Ohio', description='nerd extraordinaire', isContributorsEnabled=false, profileImageUrl='http://a0.twimg.com/profile_images/618051004/lindas_lady_bu g_normal.jpg', profileImageUrlHttps='https://si0.twimg.com/profile_images/618051004/lindas_ lady_bug_normal.jpg', url='null', isProtected=false, followersCount=10, status=null, profileBackgroundColor='B2DFDA', profileTextColor='33', profileLinkColor='93A644', profileSidebarFillColor='FF', profileSidebarBorderColor='EE', profileUseBackgroundImage=true, showAllInlineMedia=false, friendsCount=3, createdAt=Wed Jan 21 13:48:21 EST 2009, favouritesCount=0, utcOffset=-18000, timeZone='Eastern Time (US Canada)', profileBackgroundImageUrl='http://a0.twimg.com/images/themes/theme13/bg.gif' , profileBackgroundImageUrlHttps='https://si0.twimg.com/images/themes/theme13/ bg.gif', profileBackgroundTiled=false, lang='en', statusesCount=3, isGeoEnabled=false, isVerified=false, translator=false, listedCount=0, isFollowRequestSent=false}}, StatusJSONImpl{createdAt=Tue Jul 26 10:59:56 EDT 2011, id=95870974125293568, text='I need a Magento expert local to Canton, Ohio. It's like looking for the lesser spotted Cobol programmer. Sigh.', source='web', isTruncated=false, inReplyToStatusId=-1, inReplyToUserId=-1, isFavorited=false, inReplyToScreenName='null', geoLocation=null, place=null, retweetCount=0, isPossiblySensitive=false, contributorsIDs=[J@4f2b6c, retweetedStatus=null, userMentionEntities=[], urlEntities=[], hashtagEntities=[], mediaEntities=[], currentUserRetweetId=-1, user=UserJSONImpl{id=19300560, name='linda burnside', screenName='happy_2b', location='Canton, Ohio', description='nerd extraordinaire', isContributorsEnabled=false, profileImageUrl='http://a0.twimg.com/profile_images/618051004/lindas_lady_bu g_normal.jpg', profileImageUrlHttps='https://si0.twimg.com/profile_images/618051004/lindas_ lady_bug_normal.jpg', url='null', isProtected=false, followersCount=10, status=null, profileBackgroundColor='B2DFDA', profileTextColor='33', profileLinkColor='93A644', profileSidebarFillColor='FF', profileSidebarBorderColor='EE', profileUseBackgroundImage=true, showAllInlineMedia=false, friendsCount=3, createdAt=Wed Jan 21 13:48:21 EST 2009, favouritesCount=0, utcOffset=-18000, timeZone='Eastern Time (US Canada)', profileBackgroundImageUrl='http://a0.twimg.com/images/themes/theme13/bg.gif' , profileBackgroundImageUrlHttps='https://si0.twimg.com/images/themes/theme13/ bg.gif', profileBackgroundTiled=false, lang='en', statusesCount=3, isGeoEnabled=false
re: CF 10 update 3 released
[Update: The ColdFusion 10 update 3 will be pulled back shortly because of a few issues in the update. We are working on the fixing these issues. A new update will be released as soon as it is ready. Thank you for your patience and we apologize for the inconvenience caused] Source: http://blogs.coldfusion.com/post.cfm/coldfusion-10-update-3-released De: Eric Roberts ow...@threeravensconsulting.com Envoyé: vendredi 19 octobre 2012 12:01 A: cf-talk cf-talk@houseoffusion.com Objet: CF 10 update 3 released http://cf.etisbew.com/articles/index.php/coldfusion-10-update-3-released/ ~| 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:352952 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Progressbar interacting with server
This is a scenario in witch WebSockets will be your friend. With WebSockets you can easily setup point-to-point communicative between the client and server. A basic explanation of point-to-point communication in CF10: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d318518767eb3aa135858633ee-7ff0.html A longer tutorial on WebSockets in CF10: http://www.adobe.com/devnet/coldfusion/articles/html5-websockets-coldfusion-pt1.html I've done something similar to what you're looking for in one of my projects: PDFProtector (https://github.com/lagaffe/pdfprotector). When protecting a PDF, the server send back information on the process to the client and on client side I use that information to control the progress bar. For this I use point-to-point communication with WebSockets. Guust Nieuwenhuis On 08 Jul 2012, at 17:25, Tom Small t...@re-base.net wrote: Hi I have a Progressbar that is developed with Ext JS 4 and want to know how to write ColdFusion server code that can keep track of the progress and pass it back to the progress bar.. Tom ~| 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:351858 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best IDE for cfscript
When I need to do some quick editing I use Notepad++ on Windows or Textwragler on Mac (both free editors). When working on projects I use CFBuilder for all the ColdFusion specific features like Server management, tailview, extensions, ... Don't forget that CFBuilder has a free express version! Guust On 07 May 2012, at 20:16, Brian Thornton br...@cfdeveloper.com wrote: So there are large line number issues with most.. My backup is a old tool called PFE, Programmers FIle Editor. I've edited 14 GB text files with it. On Mon, May 7, 2012 at 1:21 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I use CFEclipse with no problems. Not a big fan of CFBuilder. Eric On Mon, May 7, 2012 at 10:46 AM, Robert Rhodes rrhode...@gmail.com wrote: What is the best IDE for cfcript work? CFBuilder 2? CFEclipse? Or? -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:351026 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Method to post Facebook Wall Feed on a ColdFusion page?
I made a website for my brothers band, www.mastercab.be, and I'm connecting to there Facebook page to get the wall posts they made and display them on there website. You'll need to create a Facebook app to get an access_token, but I believe you've already done that. Below a link to the code I'm using to connect to Facebook and display the posts. You'll have to add your page name and access_token at the beginning of the file. https://gist.github.com/e84459d04cc78ad47781 Kind regards, Guust Nieuwenhuis Adobe Community Professional Mobile: +32 497 33 04 91 Skype: guustnieuwenhuis Email: i...@lagaffe.be From: Andrew Scott andr...@andyscott.id.au Sent: Monday, March 19, 2012 4:10 AM To: cf-talk cf-talk@houseoffusion.com Subject: Re: Method to post Facebook Wall Feed on a ColdFusion page? Ok I think FaceBookGraph is a bit confusing, but having said that so is the docs at times. Well if you need the reverse then the activity or news feed is maybe what your looking for, but wall posts are out of the question. You can use the SDK to read the news, I have never done it mysefl, but if you look at all the objects news is one of them. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Mon, Mar 19, 2012 at 1:18 PM, Eric Bourland e...@ebwebwork.com wrote: Hi, Andrew, I've been studying the Facebook Developers' Documentation for most of the weekend. I have also been doing a lot of researching and testing. I have been able to create a test Facebook Application (App), and obtain the App ID, App Secret, and an App access token. I have also figured out that the Facebook Graph is just the FB database. =) That metaphor had me confused for a while because I was looking around for an actual graph. Yes, I can be literal minded, especially when I need a procedure to complete a task, and am feeling tense and vulnerable about not having completed it. So depending on your requirements, you can use the Social Graph to post to your facebook page, that will automatically get seen by people who have either liked / subscribed to the page. Actually, I need to achieve the reverse; I need to post the activity feed, or the status updates of a particular Facebook page to a particular web site. The ColdFusion Facebook SDK seems to want to allow me to post posts to a Facebook page, but does not allow me to extract the activity feed -- at least, that is what I think. Of course I could be missing something. The thing is that you need to know how to do it. I agree 100% and I'm continuing to work on this task. I'm continuing to study the Facebook documentation. Thank you again for your ideas and support. Have a great evening. Eric ~| 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:350468 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFBuilder 2 Virtual Hosts
Carl, When I create a project I don't use the default location (witch is where your workspace is saved), but I point to a folder in the wwwroot-folder of my CF server. This way I can still test my apps in the browser. Kind regards, Guust Nieuwenhuis On 14 Sep 2011, at 22:08, Carl Von Stetten wrote: I'm a complete CFBuilder n00b (just installed this morning for first time). I've been developing for years using Dreamweaver, so this is going to be a huge change for me. OK, now to the problem. I develop on a 64-bit Windows 7 PC. I have IIS 7.5 running local versions of the intranet applications I develop. I have a separate IIS web site for each application, and ColdFusion 9.01 is connected to IIS and all the sites work from a browser. My sites run from folders under C:\WebSites. In my hosts file, I have defined site names linked to 127.0.0.1 (local.app1 and local.app2). This all works fine. Now I have installed CFBuilder. I configured my local server per the Adobe help, or at least as far as I understand. My server shows up in the Servers window. I'm confused as to how I configure a project. Do I point the project to the actual website's code folder (ie: C:\WebSites\app1\wwwroot), or to the default folder for the project (ie: C:\Users\myUserName\Adobe ColdFusion Builder workspace/local.app1)? I tried putting a copy of the codebase in the project's default folder, but I can't preview any pages in the Firefox or IE tabs. I get the message: Selected file is not in the document root of the server. If the project is not in the document root, create a linked folder to the document root (selecting Project Properties ColdFusion Project). What am I doing wrong? How do others set up CFBuilder with locally hosted IIS sites? ~| 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:347481 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Mura CMS File Manager - Stop Image Resizing
Matt, The default layout of a page is that it shows the 'medium size' image and when you click on it, it will show the full size image. If you don't want that 'medium size' image to be display, you have to overwrite the default layout of a page. Let me know if this is the case for you, then I'll explain how you can do this. Kind regards, Guust Nieuwenhuis On 15 Aug 2011, at 21:18, Matt Quackenbush wrote: I'm hoping that another Mura CMS user sees this and can point me in the right direction. I've done a lot of things attempting to solve this issue, but none have had any affect. *The Issue* When using Mura's File Manager to upload an image, the image is resized (scaled), and an additional thumbnail is created. While I don't necessarily care about the thumbnail creation (other than wasted server space, which is cheap anyways), I *need* for images to be uploaded and have them left completely alone. No resizing. No scaling. No manipulation at all. *Vain Attempts to Rectify the Issue* - I have gone into config/settings.ini.cfm and changed 'sourceimagescale' to an obscene number. - I have gone into site settings (images tab) and changed the settings there to obscene numbers. I am guessing that there is something super simple somewhere that I am missing, but for whatever reason I am missing it nonetheless. Any thoughts/advice/tips/tutorials/blog posts/etc would be greatly appreciated! Thanks in advance. :-) ~| 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:346765 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Mura CMS File Manager - Stop Image Resizing
Matt, In that case, I can't help you... Have you posted the issue on the forums of getmura.com? An other help might be the Mura Show next wednesday, where you can ask your question directly to the developers of Mura itself... http://www.getmura.com/support/mura-show/ On 15 Aug 2011, at 21:38, Matt Quackenbush wrote: Guust, Thanks for the reply. I should have specified that the images we are uploading have nothing to do with a gallery or anything like that. They are *not* being uploaded via the Site Manager, but rather the File Manager. Additionally, they are being uploaded completely outside of the site folder, and are referenced only by CSS rules. This is why we want them to be left alone. I should also clarify that the full size image is indeed being scaled during the upload process, which is the crux of the issue for us. For example, if I upload an image with dimensions of say, 750x1900, the full-size image is being redrawn and scaled to about 450x1200. On Mon, Aug 15, 2011 at 2:29 PM, Guust Nieuwenhuis i...@lagaffe.be wrote: Matt, The default layout of a page is that it shows the 'medium size' image and when you click on it, it will show the full size image. If you don't want that 'medium size' image to be display, you have to overwrite the default layout of a page. Let me know if this is the case for you, then I'll explain how you can do this. Kind regards, Guust Nieuwenhuis On 15 Aug 2011, at 21:18, Matt Quackenbush wrote: I'm hoping that another Mura CMS user sees this and can point me in the right direction. I've done a lot of things attempting to solve this issue, but none have had any affect. *The Issue* When using Mura's File Manager to upload an image, the image is resized (scaled), and an additional thumbnail is created. While I don't necessarily care about the thumbnail creation (other than wasted server space, which is cheap anyways), I *need* for images to be uploaded and have them left completely alone. No resizing. No scaling. No manipulation at all. *Vain Attempts to Rectify the Issue* - I have gone into config/settings.ini.cfm and changed 'sourceimagescale' to an obscene number. - I have gone into site settings (images tab) and changed the settings there to obscene numbers. I am guessing that there is something super simple somewhere that I am missing, but for whatever reason I am missing it nonetheless. Any thoughts/advice/tips/tutorials/blog posts/etc would be greatly appreciated! Thanks in advance. :-) ~| 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:346767 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 and beyond
Richard, The next version of ColdFusion, code name Zeus is on its way... Here are some resources for you about it: - Next version of ColdFusion is codenamed Zeus http://blogs.adobe.com/coldfusion/2011/06/08/next-version-of-coldfusion-is-codenamed-zeus/ - ColdFusion X Writeup http://www.coldfusionjedi.com/index.cfm/2011/3/3/ColdFusion-X-Writeup - ColdFusion 10 Sneak Peak at RIACON http://www.askbenore.com/2011/08/06/coldfusion-10-sneak-peak-at-riacon/ Make sure you follow ColdFusionBloggers (http://www.coldfusionbloggers.org/) and you'll be up to date when something new is announced. Kind regards, Guust On 09 Aug 2011, at 19:00, Richard Steele wrote: I'm concerned that at some point Adobe will pull the plug on CF as free PHP continues to grow its user base. I know that there is an open source version of CF, but I'm not sure if it has Enterprise features such as the ability to create load balanced multiple instances. What's the general feeling about this? Should I be concerned? Is there any work being done on ColdFusion 10? ~| 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:346606 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: email from variable?
Only if you asked the user to provide his/her email address. There is no way ColdFusion (or any other technology) can know this by itself. Kind regards, Guust Nieuwenhuis Adobe Community Champion www.lagaffe.be On 14 Jun 2011, at 20:16, Orlini, Robert wrote: Hello, How can I get the email address of a user who submitted a form so I can send them a reply receipt? I looked over any cgi variables and of course could not find one. I want to use it in a cfmail script. Thanks. RO HWW ~| 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:345296 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT - site monitors
I use uptimerobot, a free service that checks your domain every 5 minutes and sends out alerts by email, twitter and SMS. 50 domains is the limit. http://uptimerobot.com/ Kind regards, Guust On 06 Feb 2011, at 06:21, Kevin Parker tras...@internode.on.net wrote: I need to automatically monitor about 3 CF sites that run on hosted servers (they're not my boxes). All I need to know is that the site is up - maybe check once or twice a day. I unashamedly admit I don't want to pay for a service if I can. Can anyone recommend anything or alternatively I'm happy to run it off my own box if someone can recommend some code etc TIA! ++ Kevin Parker Advanced Imaging e: webmas...@advancedimaging.com.au w: www.advancedimaging.com.au m: 0418 815 527 ++ http://au.linkedin.com/in/krparker ~| 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:341893 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Coldfusion Hosting
I'm hosting my websites at Hostek on a reseller account and until now I'm very happy with them. Kind regards, Guust Nieuwenhuis On 28 Jan 2011, at 20:57, Andrew Scott andr...@andyscott.id.au wrote: +1 for Hostek, I have the $25 package. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Casey Dougall [mailto:ca...@uberwebsitesolutions.com] Sent: Saturday, 29 January 2011 6:07 AM To: cf-talk Subject: Re: Coldfusion Hosting On Fri, Jan 28, 2011 at 1:49 PM, Adam Bourg adam.bo...@gmail.com wrote: Can anyone recommend a decent yet cheap web host for ColdFusion? Right now I'm hosting my site at DreamHost (Simple wordpress as CMS site). I'm looking for SQL PHP 5 and Coldfusion 8 support all under $6. Am I dreaming? http://hostek.com/hosting/coldfusion/coldfusion-hosting.asp Decent enough for your budget... I use them for some sites, they do ok for me. ~~ ~~~| 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:341651 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cfm ~| 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:341670 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm