If you try to embed a YouTube-video in a XHTML 1.0 compliant website, you will get validations errors. This is caused by YouTube’s use of the <embed> tag, which has been deprecated in XHTML 1.0.
The standard YouTube code is:
To solve the validations errors we have to get rid of the deprecated <embed> tag.
Therefore we add a data attribute to the <object> tag. The following code is the most simple and will work in Opera and Firefox:
To get it working in MS Explorer we need to add a <param> tag with name and value attribute:
To autoplay a movie simply add “&autoplay=1″ to the url:
Easy isn’t it? The code in xhtml is even shorter than the standard YouTube code.
Magpie is a very popular RSS parser for PHP. Although I used Magpie quite a while to my satisfaction, it suffers a few flaws. At first it seems to have problems with the UTF8. Dealing with UTF8 is not easy in PHP (and MySQL). And there is verbose code, you feel it can be done quicker and simplier. We will parse feeds with only 5 lines of code and a simple stylesheet. Read the rest of this entry »
Ubuntu is a Debian based Linux distribution. In its few years of existence it made quite an impression by its support and speed of development. If offers the advantage to Debian in the way it supports the modern and rare hardware. I had no problem installing it on a new Dell right out of the box. I use the server version of Dapper Drake 6.06 on my PHP server. Once you have installed the OS, you can run into problems localizing your system. I wanted to have Dutch dates on my Dutch website and English dates on my international sites. The way to add support for different languages differs quite a bit from earlier Ubuntu versions, because ‘dpkg-reconfigure locales’ doesn’t work. But once you know the secret is not difficult at all. Read the rest of this entry »
Demandbase, the real-time personalization and targeting platform for B2B, today announced the availability of a Real-Time Identification module for the Drupal CMS platform, which provides for the ability to identify and target companies visiting their websites in real time.
The Industry Consortium for Advancement of Security on the Internet , a nonprofit association dedicated to enhancing global IT security by proactively driving excellence and innovation in security response, today announced the publication of the latest version of its Common Vulnerability Reporting Framework , Version 1.1.
HONG KONG-- - Today, www.EquityLeader.com introduced research coverage of ABB Ltd and Leucadia National Corp. . Full research reports are available to readers at: www.EquityLeader.com/index.php?sm1=ABB&sm2=LUK ...
CNP Integrations is proud to present a new webinar and discussion focused their unique process for the migration of an enterprise Drupal portal to a Joomla! CMS. This webinar will offer an inside peak of the data migration and restructuring of content to leverage a Joomla! CMS for optimized security and advanced features only available in the Joomla! CMS.Boston, MA (PRWEB) May 14, 2012 On May ...
MOUNTAIN VIEW, CA-- - Xeround , the Cloud Database Company, today announced the availability of their database-as-a-service for MySQL applications as an add-on for the AppHarbor .Net platform and for AppFog's ...
HONG KONG-- - Today, www.BollingerReport.com introduced featured coverage of Gerdau SA and POSCO . Full research reports are available to readers at: www.BollingerReport.com/index.php?sm1=GGB&sm2=PKX .Economic ...
HONG KONG-- - This morning, www.MarketFoundations.com announced new reports highlighting Cliffs Natural Resources Inc and Commercial Metals Company . Free research downloads are available at www.MarketFoundations.com/index.php?coa=CLF&cob=CMC ...
HONG KONG-- - Today, www.BrightonMarkets.com announced new reports highlighting Berry Petroleum Company and Ferrellgas Partners, L.P. . Gain market insight with full analysis and research downloads available ...
HONG KONG-- - Today, www.BrightonMarkets.com announced new reports highlighting Bristow Group Inc and Core Laboratories N.V. . Gain market insight with full analysis and research downloads available at ...
HONG KONG-- - This morning, www.MarketFoundations.com announced new reports highlighting Companhia Siderurgica Nacional and NV Energy, Inc. . Free research downloads are available at www.MarketFoundations.com/index.php?coa=SID&cob=NVE ...