Posts tagged ‘HTML’

Only on rare cases applications created with Silverlight (or Flash) are static – it’s very common to have information coming from a RSS feed, REST service or any other data source. What is more important, these applications usually needs configuration variables (user name, language, products category, etc.) to be passed to them. But how to [...]

If you have been programming websites long enough you would know that user input is first think to worry about when thinking about security. It’s really hard to decide what data is acceptable, especially when user has permission to insert HTML content through form.
For example, if you are developing CMS you need to make sure [...]

If you are using library such as jQuery, it supports AJAX responses in very different formats. For example, jQuery.get supports “xml”, “html”, “script”, “json”, “jsonp” and “text”. Which to choose?
Let’s say we have these variables, which we want to pass to JavaScript:

$array = array(
’status’ => ‘OK’,
‘message’ => ‘My status message’,
‘additional’ => array(1, 2, 3, [...]

Google Analytics is default choice for visitors tracking, but it can be also used for sales statistics. I have been working with e-commerce projects for a while, and have implemented very powerful back-end statistics tools, but I always try to search for easier to use (and functional enough) tools. Today I’m going to talk about [...]

Web scraping with PHP and XPath

February 17th, 2009

When I was writing about how I use web scraping, I was still hadn’t tried using Xpath (shame on me). sssscripting blog responded to my article with very good and rich post about all sorts of different techniques for scraping (with Ruby examples) and after reading this post in Kore Nordmann blog I finally decided [...]

Sssssssscripting blog yesterday wrote about writing your own web crawler (in Ruby) and I immediately remember that I have done similar projects in past. Only difference is, I had developed web scrappers which were used to monitor e-commerce websites market. Believe me, when you run online shop, having ability to look at rivals prices in [...]

As searchengineland.com reports, today Google, Microsoft and Yahoo agreed on new meta tag – canonical tag.
Canonical tag is the easiest way so far to remove duplicated content which is not duplicated at all. For example, image that I have a page accessible through „http://dev.juokaz.com/page/hello.php” URL. All links below will point to same page and, if [...]

I find more more articles about NetBeans 6.5 IDE for PHP, for example this Mike’s article. Why people like it so much? After some weeks spent reading all these articles, I finally decided to throw away all other editors and try new-and-shiny NetBeans.
Initial configuration (keyboard shortcuts, SVN config, project setup, etc.) took only 5 min [...]

In some situations, you need Checkbox and Radio elements functionality merged together. For example, imagine available discounts list where user can pick only one, but can pick none, because maybe he wants to use it later (lets say discounts are one-time). How would you do it in HTML?
Yesterday I was working with same problem and [...]