Link Exchange Community

I just doit; now 10 minutes I have deployes my link exchange community application; in this moment it will be avaible only for my site visitors, no SEO for this, but you can view and test the process of link exchange; Free, simple, and lovely to use, this application comes instead of paba project that was lost because, probably, the involved number of persons/visitors/editors was to small - it was concepted for a little community; here the community will be contain anyone who wants to get into it. Enjoy it and let my know about functinalities that aren't wrking or you willl like to see there,

Link Exchange Community


Posted by: admin
Posted on: 1/28/2010 at 2:09 PM
Tags: , , , ,
Categories: Community | Google | paba | SQL | WWW
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Building a simple crawler - indexing the internet starting from one page

Is this posible...? the index the internet starting from one page....? Yes, I have tested this: starting from iuliumaniu.ro, a site that was builded for a Christian comunity, by me a long time ago (when I create such a program for college diploma). This consist in some small steps which followed can collect the entire Internet content, or what you need from there.

Steps for crawling the internet:

1. set u = starting url

2. load u

3. [?store data about page u]

4. process page u - extract links from u content

5. foreach u = extracted link go yo step 2.

1st step is simple - you have to select a page/site where exists some external links, to walk and on other sites. 2nd step means that you have to get that page content ussualy using a http web request; 3rd step can be placed before or after step 4, depending about what do you need to collect (if you need to collect and the links, or you have to process the stored data, probably this step will be after step 4); it consists in some data storage (database, xml, ...) implementation. Processing the page content be managed in more maniers, I can give to you 2 simple ways to process this - XML/HTML or process as a text, eventually using the regular expressions - XML is more harder to implement but this can give to you some advantages. And in the end you follow all page urls and jump to step 2 - this will ensure that the internet will be indexed entirely by you application.

This is a small theory about crawlers, it is not very dificult to implement it. Come back soon for a small implemenation of this.


Posted by: admin
Posted on: 1/10/2010 at 5:06 PM
Tags: , , , ,
Categories: Articles | Crawlers | Google | Programing | SEO | WWW
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

sending e-mail from gmail servers, from .net code

I found this code on c-sharpcorner.com, it works, untill now i have a lot of problems when i have to send mail using gmail acount. It works, the base source is think big blog's; enjoy it!

           // C# Code
            MailMessage msg = new MailMessage();
            // Your mail address and display name.
            // This what will appear on the From field.
            // If you used another credentials to access the SMTP server, the mail message would be
            // sent from the mail specified in the From field on behalf of the real sender.
            msg.From = new MailAddress("example-mail@gmail.com", "PAN");
            // To addresses

            msg.To.Add(new MailAddress("x@example.com", "b0by"));
            msg.To.Add(new MailAddress("
x@example.com", "me"));

            // You can specify CC and BCC addresses also
            // Set to high priority
            msg.Priority = MailPriority.High;
            msg.Subject = "Hey, a fabulous site!";
            // You can specify a plain text or HTML contents
            msg.Body = "Hello everybody,<br /><br />" +
                "I found an interesting site called <a href=\"http://pan-internet.com\">" +
                "Pan Internet!</a>. Be sure to visit it soon.";
            // In order for the mail client to interpret message body correctly,
            // we mark the body as HTML because we set the body to HTML contents.
            msg.IsBodyHtml = true;
            // Attaching some data; throws an exception if the file does not exist   
            //msg.Attachments.Add(new Attachment("C:\\Site.lnk"));

            // Connecting to the server and configuring it
            SmtpClient client = new SmtpClient();
            client.Host = "smtp.gmail.com";
            client.Port = 25;
            client.EnableSsl = true;
            // The server requires user's credentials not the default credentials
            client.UseDefaultCredentials = false;
            // Provide your credentials
            client.Credentials = new System.Net.NetworkCredential("example-mail@gmail.com", "examplepasssword");
            // Use SendAsync to send the message asynchronously

             try
            {
                client.Send(msg);
            }
            catch (SmtpFailedRecipientException e1)
            {
                
                Console.WriteLine(e1.Message);               
                //SmtpFailedRecipientException
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
            }


Posted by: admin
Posted on: 10/20/2009 at 9:46 AM
Tags: , , ,
Categories: .NET | ASP | Google | Programing | WWW
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (2) | Post RSSRSS comment feed