Taking a cue from the post Create a simple feed reader with SimplePie and jQuery I created the first WordPress Plugin weblog Saidmade . Flash Feed Scroll Reader uses SimplePie to create a PHP proxy to access different addresses feed.
Archive December, 2008
If you use Flash or Ajax to read RSS feeds from other domains, you need to equip yourself with a proxy (tunneling) because of the protections imposed by both technologies (see tunneling and proxy server for Ajax and not only ). If your site or blog is already present SimplePie , you can write a simple proxy in this way:
Browsers are an essential tool today and, quite possibly, the best-known software application available. At one time this record belonged to applications such as Microsoft Word, today the podium is occupied by the application that has revolutionized the computer, communication, and perhaps the entire world. Due to its simplicity, the browser has spread quickly and adaptive skills that few other applications have been able to show: cross platforms (multi-platform) and cross devices (multi-device).
Surfing on the Internet is possible thanks to the browser, we can use it as a PC, a Mac, a handheld, the new "mobile phones".
The jQuery Cheat Sheet 1.2 - very useful.
Among the various funny "interpretations" that Internet Explorer 6 is able to do with HTML / CSS, the "double margin" is certainly the most tedious and often. In practice (surprise, surprise ...) good browser Microsoft succeeds - mysteriously - to double the margins on the elements set to float! : As such the following CSS applied to a
div with id
Nothing new, but the sign to remind me: how to add a picture to all the links that open a new page:
) . addClass ( 'external' ) ; jQuery ('a [@ target = _blank]'). addClass ('external');
SimplePie is a PHP library able to greatly simplify the retrieval and manipulation of RSS feeds or, more generally, of XML formats. You can, for example, write a few lines of code, also exploiting some "funzioncina" jQuery , to achieve a News Ticker to join our website / blog.
Like many I run I upgrade to WordPress 2.7. Everything went well, as usual, except for two Plugins:
Lighter Menus no longer makes sense in the new interface of WordPress, then disable it (and delete it) before performing the upgrade.
For Simple Tags , however, you have to alter a line of code that causes incorrect Plugin with the release of WordPress 2.7. To do this go to the editor of internal WordPress Plugin and select Simple Tags. The line:
It must become:
Updated and everything will be fine: Always have a backup of the files and the database
Not that I always take with me the Internet Explorer, it's just that every damn thing about Web development (HTML and CSS) seems not to work with the browser - still - the most widespread (one day someone will explain why). ; ad esempio ecco come posizionare un
div al centro dello schermo: A very convenient method to place an item in the middle of the browser window is to the property sfrutture
margin , for example, here is how to position a
div in the center of the screen:
The stickers (or ribbon) are those images that are positioned at the top right or top left, and commonly have an angular shape headband. There are various types, from simple static images to the spectacular Flash movies. Sometimes they are so constructed as to remain in their position even when we scroll the contents of the browser window.