Create Spam Free Comment System.

Posted by Nepenthes on 9:29 PM comments (0)





What is XML ?

Posted by Nepenthes on 9:39 PM comments (0)

Like most good ideas, XML is basically a very simple idea that can be put to good use in many situations. It is not intended to be a direct replacement for the general-purpose markup that is provided by HTML describing how content should be displayed. Instead XML ofers a means to define and construct other custom markup languages with tags you name yourself and rules which you define for how those tags can be used. So because XML is a language that describes other language it is termed as being a 'meta-language'.

The two words that should be most strongly associated with any definition of XML are 'structure' and 'data'.

Custom markup languages constructed in XML will arrange data in a structured manner so it can be accessed and manipulated in a variety of ways. For instance, you could use XML to create a custom markup language called 'EruptML' to describe the data on all active volcanoes.

Using data in a XML document often employs other XML technologies which are explored in the later topics.

Blogger and Syntax Hightlighting

Posted by Nepenthes on 10:43 PM comments (0)

elow is the sample hightlighing for xml



Here is how I did it.

At first downloaded Syntax-Highter to highlight source-codes in my blogs.

  1. Downloaded Syntax-Highter
  2. Uploaded to my personal space http://www.samundra.com.np
  3. Main files to be uploaded are
    • dp.SyntaxHighlighter/Scripts/clipboard.swf
    • dp.SyntaxHighlighter/Scripts/shBrushJava.js
    • dp.SyntaxHighlighter/Scripts/shCore.js
    • dp.SyntaxHighlighter/Styles/SyntaxHighlighter.css
  4. Added link of uploaded file to my blog template.




  5. You can do the same only replace
    • http://www.samundra.com.np/db.syntax/Scripts with your own url where you have uploaded your files.
  6. Finally Activate the javascript function, for syntax hightlighting.
    • You can do this by adding the following code snippet at the end of your template just before the tag:



actual source : http://abhisanoujam.blogspot.com/2008/12/blogger-syntax-highlighting.html

Introducing XML (eXtensible Markup Language)

Posted by Nepenthes on 8:30 PM comments (0)

XML (eXtensible Markup Language)
XML has been created to overcome some of the limitations that are found in the Hypertext Markup Language (HTML). Because HTML is so hugely popular many of its features have been incorporated into XML and will seem familiar if you know a little about HTML.

The two main applications for XML are the pulication of web pages and the exchange of information.
Focus here :

  • Teach the beginner about XML syntax, schemas, links, transformation and styling.
What you need to know
  • Minimal knowledge of HTML
  • Read, write and comprehend, a basic javascript (not needed to be expert coder, or a Javascript guru)
Platforms and parsers
XML is a cross platform technology but the Microsoft Internet Explorer web browser best supports XML features. Consequently all the featured examples relate to Internet Explorer on the Windows Platform.

The code in a X L document must be processed by a small application called a 'parser'. The MSXML parser can be freely downloaded from the web at http://msdn.microsoft.com/downloads and comprises a single file named msxml4.msi. This files uses the Windows Installer to install the parser on your computer. Recent versions of the windows Operating System include the Windows Installer but this can be freely downloaded from Microsoft if required.