How to Display RSS Feeds from a Website in PHP

display RSS with php

I didn't need this particular piece of code till I started customizing my SMF mobile version and had to show recent topics on the homepage using PHP. Now this doesn't apply to SMF alone, its just a PHP code you can use in any script so far you know just how to do it. You can grab the RSS of any website and display it on another site and this is dead simple even if you have no idea about PHP coding. This is quite useful if you've got more than one site and wish to show updates on one of your sites to visitors on another site. Depending on how you want it, you can customize the display by altering this code or just using it as-is: <?php $rss = new … [Read more...]

Facebook Share Button Stopped Working? Here’s a Quick Fix

Facebook-Share-Button

Facebook officially deprecated the share button in favor of the like button earlier this year. A few days ago, I realized that the share button no longer displays on sites I manage. Trying to figure out what could be wrong, I checked those sites using a different browser and it was the same. Still in doubt, I used a different PC and even checked other websites just to be sure. Across the web, a certain version of Facebook share button stopped working. The Share Button has been deprecated already a while ago but not yet completely dead. If it stops working on your website or blog, you only need to update your code. Facebook deprecated the Share button on February 28, which means they no … [Read more...]

Integrating Facebook Comment on Dynamic PHP Web Pages

how_to_add-facebook-comment-box-to=dynamic-php-web-pages

Facebook comment system websites is a common thing we see these days and to be candid, it's a great way to engage your readers and keep your website interactive. I recently finished a music search engine but realized the comment system wasn't that good. I figured out integrating Facebook comment would be a great way to better socialize it. I know all about adding Facebook comment to static web pages and I've integrated Facebook comment on Blogger blogs on several occasions but a dynamic PHP web pages? That was the first time and got me confused for a while. I added the comment alright but the problem I faced was that the same comment was appearing on all web pages and we're talking of loads … [Read more...]

Customizing Simple Machines Forum (SMF) Mobile Version (WAP2)

SuperScreenshot0020

With the increasing rate at which people browse the internet, it's very important to optimize your site for mobile users. I have a web forum built with SMF 2.0 script and the mobile version isn't bad at all compared to the default mobile version SMF has to offer. Unlike MyBB that has a better mobile version plugin, SMF mobile version (also known as WAP2) looks rather too crude to be of interest to any mobile user. A lot of my web forum users use Opera Mini mobile browser and I had no choice but to make the forum's mobile version a lot better than what it was. Since mobile users are also more than 50%, I had to find ways to insert adsense for mobile into WAP2 to monetize it and I'm going to … [Read more...]