First time here? You may want to check out the blog archive, subscribe to the RSS feed, sign up for free email updates, or follow me on Twitter. Thanks for visiting!
Twitter seems to be taking over the web. Now you can provide your clients with a web presence that is fully integrated with Twitter and makes it easier for their content to go viral on Twitter. There is a variety of ways to integrate Twitter into your blog. Here I show you how to integrate Twitter with a DNN website and place it alongside your SunBlognuke blog.
This is done with the core News(Rss Feed) module, which is available free here:
http://www.dotnetnuke.com/Resources/Downloads/ProjectsDownloads/tabid/1373/Default.aspx
Now, look at the following screenshot:
How to install it and set it up:
<a target="_blank" title="Follow me at Twitter" href="http://twitter.com/sunblognuke" class="followMe">More updates...</a>
Change “sunblognuke” to your actual Twitter name. You can also change “More updates…” to “Follow me…” or anything else you like; this is the text that will appear at the bottom of your feed, that will take people to your page on Twitter where they can sign up to follow you.
<img src="http://www.yourdomain.com/Portals/0/Blog/twitter.ico" alt="" style="border:none;"/>
Change “yourdomain.com” to your actual domain name, and change “Blog” to the name of the folder you created on your DNN site for the TwitterWidget files. For example, if your domain was www.mysunblog.com and the folder you created was “BlogSupport” inside your root folder, the line would look like this:
<img src="http://www.mysunblog.com/Portals/0/BlogSupport/twitter.ico" alt="" style="border:none;"/>
Note: You may get an error message when you try to upload the twitter.ico file saying that it is not an allowed file type. If that is the case, you need to log into your DNN site as a SuperUser (ideally as the Host), go to the Host / Host Settings page, scroll to "Other Settings" and append 'ico' in the "Allowable File Extensions" and it will look something like this: swf,jpg,jpeg,jpe,gif,bmp,png,doc,xls,ppt,pdf,txt,xml,xsl,css,zip,template,docx,xlsx,pptx,js,htc,ico
.followMe{ background: url(images/twit_b.jpg) left top no-repeat; padding: 0 12px 30px 0; text-indent: 140px; float: left; width: 288px; height: 45px; }
That's all. :)
Actually everyday there seems to be more and more Twitter applications and blog plug-ins created. What have you seen or have you used to integrate Twitter into your blog?
PS: updated clearly with Tom’s help.
Very nice presentation. Would love to see a way to get the TweetMeMe button to work with DNN. Probably not too difficult.
When I try to download the TwitterWidget.zip file in your blog post, it comes up with an error saying that the resource cannot be found. I would like to try this. My question also, is will this allow me to post a blog posting which then auto-updates the Twitter account? It's not clear to me in this blog that that's what will happen. Thanks! Mark
Hi, Mark. I have fixed the download link. It just synchronously update your twitter post in your website but not auto-update your blog posting in your twitter. If you want to do it please try the twitterfeed service(http://twitterfeed.com). Thanks a lot.
Always make sure to set a cache up when accessing twitter's user status rss. Each hit on the rss feed constitutes an api usage, and if referenced too many times, it will stop returning information. found that out the hardway.
very useful tips.
Is there a way of getting links to form properly using this method?
What links would you like to form? You should be able to do some more customizations basing on it. That is a start. Hope it makes sense.
Hi,Is it possible to do the same for facebookKind regards,Buck
Hi Buck,We did not try it out for FB but I think that it should be doable with its flexibility. :)RegardsBaldwin
Hi, I followed your instructions and was able to get our customers tweets working exactly as you said on our networked development virtual web server. However, when I installed it onto the live site that is under development no feeds show, I have exactly the same settings on both servers. No feeds show up even when I first entered the feed url before applying your xls files etc. Any Ideas?
Is there any ERROR information in the Event Log page? It may be caused by some potential issues, such as not closed tags/entities. Hope it helps.
Click here to cancel reply.
Nickname (*)
Email (*)
Website (Blog)
Remember my details Notify me of followup comments via e-mail
Baldwin Sun Senior developer for dnn solution & founder of ultimate dnn blog module - SunBlog(Nuke), which is the best publishing tool for DotNetNuke (DNN) websites, with a focus on simplicity, ease of extensibility, web standards and usability. It includes a great suite of modules for blogging on your DNN site.
Re: Integrating Twitter into Your DNN Blog
Is there any ERROR information in the Event Log page? It may be caused by some potential issues, such...
-- Baldwin
Hi, I followed your instructions and was able to get our customers tweets working exactly as you said...
-- StuartF
Re: Integrated Social Graph into DNN Blog
Hi Matt, As the above code describe, the settings is the current portal settings so the email field...
By the way, I see above it might come from Portal Settings but I just can't seem to find where I can...
-- Matt
Hi - Can you tell us where settings.Email is coming from? Where it can be changed? Or what specific...
Re: How to Migrate DNN Blog Data of SunBlogNuke
Also to solve these 2 issues, please upgrade the latest package, which had been repackaged today with...
Please see the replies below: 1) Your website looks strange and actually I had solved it out but the...
Another two questions: 3) When I imported the file from the old site, all the post dates changed to the...
-- pbmartin
Thanks for the directions, Baldwin. Two things: 1) On my old site, I'm running an old version of Sun...
Re: Turn Content Slider Widget into a jQuery Carousel
It is in the widget settings panel and should be placed in the above section of "Available Tokens (Post...
The opinions expressed here in are my own personal opinions and do not represent my employer's view in anyway.
© Copyright 2009 - 2013