April 10th, 2008 by Roy L. `dshiznitz Besiera
Once i was asked by my boss to automatically detect feeds on a given website URL. Of course you couldn’t say “no” to your boss and said “right away boss :p”. I always understand that when your boss asked you to do something he does not need to know if the task is hard for you or not.
My idea is to read a website’s HTML and locate the tags link hoping the it is pointing to an RSS or ATOM Feeds, parse the XML feed and display it to the user as human readable data.
Continue reading…
Posted in C#/ASP.NET Programming, PHP Programming | 1 Comment »
April 3rd, 2008 by Roy L. `dshiznitz Besiera
A few years ago i was very excited about this new technique to get content from another page without refreshing the browser. It is called AJAX. With AJAX (Asynchronous Javascript and XML), you can present data to your audience without interfering the behavior of the current page. It was the feeling that i discovered something new and i was very excited to use it on my website. So i started dipping my finger into the pool, it was cold (i hate it when it is cold) but still i managed to get my whole body wet and no later i found out i was already swimming.
Continue reading…
Posted in General Javascript Programming | 2 Comments »
April 1st, 2008 by Roy L. `dshiznitz Besiera
Have you heard of semantic coding? If you have been reading a lot about web standards and accessibility, you might have read about it. Okay from here the gurus can stop reading about this but for some who do not even know the relevance of semantics on their documents I suggest you take a little time reading this one, it might change your perspective towards creating more meaningful code rather than just the normal and most commonly used way of presentation data.
Alright, semantics what is it by definition. Quoting from Reference.com semantics in general, the study of the relationship between words and meanings. The empirical study of word meanings and sentence meanings in existing languages is a branch of linguistics; the abstract study of meaning in relation to language or symbolic logic systems is a branch of philosophy. Both are called semantics. The field of semantics has three basic concerns: the relations of words to the objects denoted by them, the relations of words to the interpreters of them, and, in symbolic logic, the formal relations of signs to one another (syntax). O_o well as far as I understood, (and you can think of your own interpretation :p) semantic means describing a piece of object. The way I look at it, it should have two components here. The one describing an object and the object itself.
Continue reading…
Posted in Web Standards and Principles | No Comments »
April 1st, 2008 by Roy L. `dshiznitz Besiera
1. Determine the lenght of a string
<%
Dim strMyString
strMyString="hello world"
response.write len(strMyString)
%>
Output: 11 including spaces.
2. Extracting substring from a String
<%
Dim strMyString
strMyString="hello world"
response.write left(strMyString,5)
%>
Output: hello
Continue reading…
Posted in ASP Programming | 2 Comments »