RSS

Category Archives: Tech

Cool —> Not-So-Cool

Was at The Curve where I saw a software which is installed in Sony Vaio.

The programme has face-recognition and has the ability to add items on your picture.

I showed my friend the pictures I took and he went “Wow, cool. It can even do make ups around your eyes.”

I was like ……. “Duh, it was my dark circles!” Damn…. LOL

 

MSN Photo Virus

I got an invitation from my fren today to receive a photo album in zip file.

Lucky enough that I’ve already aware that this is a nasty virus circulating on MSN. This virus sends out one of the following messages with a file named image.zip

Once the virus is active on your PC a bot will then procede to send out the file with a message to all of your MSN contacts.

This virus is smart enough to send along messages like ..

“wow! look at this old picture i found….”

” Take a look at the new pics already! :p”

etc

etc

So if you happen to get invitation to receive this kinda file via MSN, do ignore it.

HOW TO REMOVE

Found 3 solutions on web.. not sure whether it works though. (try at ur own risk)

STEP 1
Delete registry entry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
“nVidia Display Driver” = “nvsvc64.exe”

 

STEP 2
Restart WINDOWS

STEP 3
Delete virus files:

%System%\nvsvc64.exe
%temp%\imageXX.zip
%temp%\XX.exe

 
Leave a comment

Posted by on October 30, 2007 in Blogging, Gossip, Tech

 

Set up Apache, PHP and MySQL

Below are instructions to set up your machine for PHP environment. I’m using Windows XP Professional SP2.

(1) Apache Web Server

Download the Win32 Binary (MSI installer). Double click on the downloaded installer and install. The version I’m using is Apache 2.0.59 and I installed into C:\Program Files

Apache installation wizard

(2) PHP Run-time

Download PHP. I’m using PHP 5.0.2 . Install it to C:\php.

PHP setup wizard

(3) The next step will require you to copy these 3 files from C:\php to C:\Program Files\Apache Group\Apache2

(a) php5ts.dll

(b) php5apache2.dll

(c) php.ini

(4) Open php.ini in C:\Program Files\Apache Group\Apache2 using any text editor. Find “doc_root” and edit it to

doc_root = C:\Program Files\Apache Group\Apache2\htdocs

(5) Go to the directory: C:\Program Files\Apache Group\Apache2\conf\ and open httpd.conf file for editing. Add those lines at the end of the file.

LoadModule php5_module php5apache2.dll

AddType application/x-httpd-php .php

(6) In the same file, look for “DirectoryIndex” and edit it to

DirectoryIndex index.html index.html.var index.php

(7) START THE SERVICES

Start the service and the service icon will appear.

(8) TEST APACHE WEB SERVER

After all the installations are done, all you haev to do is to test them out. Open your browser and type http://localhost/ or http://127.0.0.1/ The page will display test page for Apache.

(9) TEST PHP

Go to C:\Program Files\Apache Group\Apache2\htdocs, create a new PHP file using notepad.

Save the file as “test.php”

Write the following codes in the PHP file and save it:

<?php

echo “testing for PHP”;

?>

Open a new browser and type http://localhost/test.php

If your browser display the same, it means that you have succesfully set up the Apache and PHP.

 AN EASIER WAY TO SET UP

If you find that installing Apache web server, PHP and MySql seperately give you lotsa headache, you can always try to install EasyPHP. It consists all the installation with just a click.

EasyPHP setup wizard

Install it to C:\

 Then try to create a test php page (just like the one I created earlier. Place it at www folder.

Start the service.

Open a new browser and type http://localhost/test.php

If your browser display correct page, thus, you’ve successfully installed EasyPHP.

 
6 Comments

Posted by on January 15, 2007 in Tech

 

syndicate your site with RSS

My sis got a new K800i days ago and she asked me what RSS is all about. Unable to answer her question, I searched for Google and did some study online..

WHAT IS RSS?

RSS or Rich Site Summary, what ever name u call it, is a great way for any website to advertise their contents in an always up-to-date fashion.

 RSS is a method of distributing links to content in your site. In other words, it “syndicates” your contents. It allows people to easily add links to your contents within their own web pages. Bloggers are a huge core audience that especially does this. Famous sites like CNN.com, have already started using this technology.

By using aggregators, I don’t have to scroll to my favourite blogs every morning. All I have to do is subscribe the site using my aggregator and it’ll list out tittle and descriptions of latest updates.

The down side is, if the site is not RSS enable, then I couldn’t subscribe it.

EXAMPLES

Every morning, I open a few browsers to read some of my favourite blogs. Unfortunately, not all blogs are updated and it’ll be a waste of time for me to scroll for every blogs, looking for updated news.

So, what I do is I use aggregator. I save url of my favourite blogs and I’ll be able to look for update blogs. It saves alot of time!

HOW TO START CREATE RSS FOR UR SITE?

Bloggers should syndicate their blogs with RSS. By doing so, readers can subscribe and will know when there are updated posts. It’s also a way to advertise, thus, bringing more and more readers to your blog.

I’m so glad that by using WordPress.com blog site, it enables easy creation of RSS. So, i tried some hands-on using another site of mine @ http://members.lycos.co.uk/siewpeng83/

Lets not talk grandmother stories on history or how RSS came to live and start of with some steps of creating an RSS. 

(1) Create a RSS file. You don’t need a XML editor to create it. Just open a new notepad and enter your items. You’ll need three bits of information:

  • Title
  • Description
  • Link

<?xml version=”1.0″ ?>
<rss version=”0.91″>

<channel>

<title>Siew Peng’s page</title>
<description>Welcome</description>
<link>http://members.lycos.co.uk/siewpeng83/</link&gt;

<item>
<title>About Me</title>
<description>Personal details</description>
<link>http://members.lycos.co.uk/siewpeng83/</link&gt;
</item>

<item>
<title>My Education</title>
<description>Schools</description>
<link>http://members.lycos.co.uk/siewpeng83/</link&gt;
</item>

</channel>

</rss> 

*link has to be your exact url 

There are some other extra optional tags like <language>  , <lastBuildDate> , <copyright>.. but are not essential in creating a simple RSS file.

(2) Save the file. For me, I saved it as “feed.xml”. Then,upload to your site using FTP etc. I put my created RSS file in rss folder.  http://members.lycos.co.uk/siewpeng83/feed.xml

(4) Test the page. Example, I type  http://members.lycos.co.uk/siewpeng83/feed.xml

 and I got this…

(3) Do not assume that your page is already been  feeded. Validate your created rss using some of the feed validator. One good site example would be http://feedvalidator.org/ Type your homepage url at the text box, hit search and it’ll return valid if your site has been feeded.

(4) There you go. You have successfull created a RSS file for your site. What you need to do next is to let others know about it. So, add a orangy RSS icon  at your page so that they can subscribe your site. You can also advertise your site at content aggregators. You can find list of aggregators @ http://www.newsonfeeds.com/faq/aggregators

(5) I subscribe to my own site, and then uploaded a new html page to my site. I tested my personal aggregator (http://www.bloglines.com/)

and I got this… DONE

 
4 Comments

Posted by on December 22, 2006 in Tech