http://news.baidu.com/我想写个程序。大概的功能是:
1.类似定制版的浏览器。读取指定页面。http://news.baidu.com/然后软件上有个登陆窗口。不是在网页上登陆。直接在软件上用“按钮+文本框”登陆百度。
2.读取某网站的页面内容。获取他最新更新的新闻。并且自动刷新网页。在网页上有新闻的时候。弹出消息对话框。告诉我有最新新闻了。能弹出对话框的同时 要是能播放个音乐什么的最好了 。
3.读取网页指定区域。的指定内容。比如网站上的新闻列表。读出来在软件的Webbrowser控件界面上显示。出来。不是直接是浏览器。不需要读取这个页面。只要网页上的一部分内容就好了。
4.我不要再软件上让人看到百度广告等等垃圾消息。只要新闻。每隔20秒自动刷新一次。弹窗对话框或者语音。提示有新的新闻出来了。看看有没有高手有现成的或者类似的源码的。
发给我邮箱:1617822579(at)qq.com 或者联系我qq# 1617822579百度新闻的源代码如下[color=#808080]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head> 
<!--STATUS OK-->
<meta http-equiv="X-UA-Compatible" content="IE=7">
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<title>百度新闻搜索——全球最大的中文新闻平台</title> 
<meta name="description" content="百度新闻是包含海量资讯的新闻服务平台,真实反映每时每刻的新闻热点。您可以搜索新闻事件、热点话题、人物动态、产品资讯等,快速了解它们的最新进展。" >
<!--ecombegin--><!--ecomend-->
<link href="resource/css/search.css" rel="stylesheet" type="text/css"></link>    
    
    
    
    
    <link href="resource/css/index.css?v=20100629" rel="stylesheet" type="text/css"></link>
<script type="text/javascript" src="resource/js/general.js"></script><script type="text/javascript">
try {
document.execCommand("BackgroundImageCache", false, true);
} catch (e) {}
var ctrljson=[
{id:"tiyu",v:"0"},
{id:"yule",v:"0"},
{id:"shehui",v:"0"}];
var setClassHeight=function(){
    for(var i=0;i < ctrljson.length;i++){
        if(ctrljson[i].v == "1"){
            G(ctrljson[i].id+"_d").style.height="650px";
            G(ctrljson[i].id+"_l").style.height="650px";
            G(ctrljson[i].id+"_r").style.height="650px";
            G(ctrljson[i].id+"_img").className="rightImg_gx";
            if(G(ctrljson[i].id+"_add1")) G(ctrljson[i].id+"_add1").style.display="block";
if(G(ctrljson[i].id+"_add2")) G(ctrljson[i].id+"_add2").style.display="block";
            if(G(ctrljson[i].id+"_add3")) G(ctrljson[i].id+"_add3").style.display="block";
            if(G(ctrljson[i].id+"_add4")) G(ctrljson[i].id+"_add4").style.display="block";
        }
    }
}
on(window,"load",setClassHeight);
</script>
<!--ecombegin-->
<style type="text/css">
#local_news, #house_news{display:none;}
.hide{display:none;}
</style>
<!--ecomend--></head>
<body><script type="text/javascript" language="javascript">
    ClickMonitor.init('TOP', 'cy=0&pr="0""0""0"');
    var extraInfo = {m:11, c:'top', cy:'0'};
</script><div id="usrbar"></div><!--ecombegin--><script>enterState("","");</script><!--ecomend-->
<div id="wrapper">
<div id="header">
<form action="/ns" name="fbaidu" class="sbox">
<table class="sbox">
<tr>
            <td class="logo">
                <div class="logo"><a href="/view.html"><img src="http://img.baidu.com/img/logo-news.gif" alt="百度新闻"></a></div>
                <div class="date"><!--datebegin--><!--dateend--></div>
            </td>
            <td class="search">
                <div class="tab"><span class="cur">新闻</span> <a href="http://www.baidu.com/" onclick="s(this);">网页</a> <a  href="http://tieba.baidu.com/" onclick="s(this);">贴吧</a> <a  href="http://zhidao.baidu.com/" onclick="s(this);">知道</a> <a href="http://mp3.baidu.com/" onclick="s(this);">MP3</a> <a href="http://image.baidu.com/" onclick="s(this);">图片</a> <a href="http://video.baidu.com/" onclick="s(this);">视频</a> <a href="http://map.baidu.com/" onclick="s(this);">地图</a></div>
                <table>
                    <tr>
                        <td class="box"><div id="sugarea"><input class="word" id="ww" name="word" size="42"  maxlength="100" tabindex="1"><input class="btn" type="submit" value="百度一下"></div></td>
                        <td class="help"><a href="http://www.baidu.com/search/news_help.html">帮助</a>&nbsp;|&nbsp;<a href="/advanced_news.html">高级搜索</a>&nbsp;|&nbsp;<A href="/pianhao.html">设置</a></td>
                    </tr>
                </table>
                <!--ecombegin--><label style="float:right;width:300px;margin-top:2px;margin-right:6px;text-align:right;font-size:12px;color:#666;">以下新闻由机器每5分钟自动选取更新</label><!--ecomend-->
                <label for="news"><input type="radio" name="tn" value="news" checked id="news">新闻全文</label>
                <label for="newstitle" style="padding:0px;"><input type="radio" name="tn" value="newstitle" id="newstitle">新闻标题</label>
                <input type="hidden" name="from" value="news">
                <input type="hidden" name="cl" value="2">                <input type="hidden" name="rn" value="20">
                <input type="hidden" name="ct" value="1">
            </td></tr>
</table>
    </form><script>read_cookie();</script>
</div>
<div id="nav"><!--ecombegin--> 
        <ul class="nav_aside">
            <li><a href="/n?cmd=4&class=rolling&pn=1&from=tab&sub=0">最新</a></li>
            <li><a href="/newsgx.html">定制</a></li>
<li><a href="http://www.baidu.com/search/news_more.html" style="*line-height:29px;">更多&gt;&gt;</a></li>
        </ul><!--ecomend-->
        <ul class="nav_main">
            <li style="background-image:none;"><div><a href="/view.html">新闻首页</a></div></li>
            <li><a href="/n?cmd=1&class=civilnews&pn=1&from=tab">国内</a></li>
            <li><a href="/n?cmd=1&class=internews&pn=1&from=tab">国际</a></li>
            <li><a href="/n?cmd=1&class=mil&pn=1&from=tab">军事</a></li>
            <li><a href="/n?cmd=1&class=finannews&pn=1&from=tab">财经</a></li>
            <li><a href="/n?cmd=1&class=internet&pn=1&from=tab">互联网</a></li>
            <li><a href="/n?cmd=1&class=housenews&pn=1&from=tab">房产</a></li>
            <li><a href="/n?cmd=1&class=autonews&pn=1&from=tab">汽车</a></li>
            <li><a href="/n?cmd=1&class=sportnews&pn=1&from=tab">体育</a></li>
            <li><a href="/n?cmd=1&class=enternews&pn=1&from=tab">娱乐</a></li>
            <li><a href="/n?cmd=1&class=gamenews&pn=1&from=tab">游戏</a></li>
            <li><a href="/n?cmd=1&class=edunews&pn=1&from=tab">教育</a></li>
            <li><a href="/n?cmd=1&class=healthnews&pn=1&from=tab">女人</a></li>
            <li><a href="/n?cmd=1&class=technnews&pn=1&from=tab">科技</a></li>
            <li><a href="/n?cmd=1&class=socianews&pn=1&from=tab">社会</a></li>
            <!--ecombegin-->
<li class="new"><a href="/n?cmd=10&class=vid2top&pn=1&from=tab&sub=0">视频</a></li>
            <li><a href="/n?cmd=9&class=pic2top&pn=1&from=tab&sub=0">图片</a></li>
            <!--ecomend-->
        </ul>
</div>
<div id="container">
    <div style="min-height:10px; _height:10px;"><a href="" target="_blank" style="font-size:14px; line-height:24px; margin:0 6px;"></a></div>
    <div class="area" style="margin-top:0;">
        <div class="content" style="height: 377px;" >
            <dl  style="height: 375px;">
                <dt class="tit tit2" style="overflow:hidden;">
                    <!--ecombegin--><div class="ecom">
<a href='http://www.baidu.com/adrc.php?t=00KI00c00f7yh0m0jh0R0ANCafapdhqP0000000000000000THhibf.THdCUvd-TA7MufK85yF9pywdgvD4nsK15H03mvwWPHRsmvf1nHnkPAR0IHY1fWf4wWFaf1IArjuKPbfswWIawDuAnDRdnHbdPjf3nsK95ywlnAdWXWKLHYIrpd-lNH7PwY4oHgG7XbdRRhk2UH7JmNIwrRdRRHPPw7bYHNwuUN-RnZ9mXb7VuDTsrRG8NMwfRdGvmvdorRdjyMGbNYGvmvdorRG8fM-9NjK30ARqpZwYTjCEQLILIz44myqbpy78nH0sQhPEUiq-mvd9UAsEmv99Uh4-Uaq9ua4bU1qGujYznjDLFMPGIARqmh7GuZNJpy7EuA-9U6KWThnqnHmLrj6' target='_blank'><img src='http://drmcmm.baidu.com/media/id=nHfYPH61PH0&gp=402&time=nHc4rjmznHT3r0.jpg' width='185' height='23' border='0' style="display:block;"></a>
</div><!--ecomend-->
                    <b>焦点新闻</b>
                </dt>
                <dd style="padding-top:3px;">
                    <div class="leftCont leftContMain">
                                                                                                <!---->
<ul class="hotnews">
    <li class="top">
        <a href="http://news.baidu.com/z/r/2011qglh/index.html" target="_blank" class="a3" mon="ct=1&a=1&c=top"><font color="#BB2A31">委员质疑1亿人“被脱贫” 建议提高贫困线 </font></a></li>
    <li><a mon="ct=1&a=2&c=top" target="_blank" href="http://www.chinanews.com/shipin/spfts/20110302/162.shtml">[政协会议实录]</a> <a mon="ct=1&a=2&c=top" target="_blank" href="http://www.chinanews.com/kong/2011/03-03/2882017.shtml">[民生是重大政治问题]</a> <a mon="ct=1&a=2&c=top" target="_blank" href="http://news.0898.net/2011/03/03/637664.html">[政协去年受理4.2万信访促维稳]</a></li>
    <li><a mon="ct=1&a=2&c=top" target="_blank" href="http://2011lianghui.people.com.cn/GB/214392/14053433.html">[今年将纪念辛亥革命100周年]</a> <a mon="ct=1&a=2&c=top" target="_blank" href="http://2011lianghui.people.com.cn/GB/214392/14053173.html">[政协提1700余民生提案 为党排忧解难]</a></li>
    <li class="top" style="padding-top:5px">
        <a href="http://news.baidu.com/n?cmd=2&class=top&page=http://www.chinanews.com/ga/2011/03-03/2882651.shtml&clk=rrel&cls=top&where=toppage" target="_blank" class="a3" mon="ct=1&a=1&c=top"><font color="#BB2A31">2010年香港近半新生婴儿为内地母亲所生</font></a></li>
</ul>
<!---->          
…………………………………………………………………………………………………………………………
…………………………………………