如何将Bing的每日背景图像变成Windows 7桌面

By using the code below, you can create a live daily updating bing theme.

To create the theme, 1st copy and paste the code below in notepad and save it as “Bing.theme”. You can click the link Bing.theme to download the theme file.

[Theme]
DisplayName=Bing
[Slideshow]
Interval=1800000
Shuffle=1
RssFeed=http://feeds.feedburner.com/bingimages
[Control Panel\Desktop]
TileWallpaper=0
WallpaperStyle=0
Pattern=
[Control Panel\Cursors]
AppStarting=%SystemRoot%\cursors\aero_working.ani
Arrow=%SystemRoot%\cursors\aero_arrow.cur
Crosshair=
Hand=%SystemRoot%\cursors\aero_link.cur
Help=%SystemRoot%\cursors\aero_helpsel.cur
IBeam=
No=%SystemRoot%\cursors\aero_unavail.cur
NWPen=%SystemRoot%\cursors\aero_pen.cur
SizeAll=%SystemRoot%\cursors\aero_move.cur
SizeNESW=%SystemRoot%\cursors\aero_nesw.cur
SizeNS=%SystemRoot%\cursors\aero_ns.cur
SizeNWSE=%SystemRoot%\cursors\aero_nwse.cur
SizeWE=%SystemRoot%\cursors\aero_ew.cur
UpArrow=%SystemRoot%\cursors\aero_up.cur
Wait=%SystemRoot%\cursors\aero_busy.ani
DefaultValue=Windows Aero
Link=
[VisualStyles]
Path=%SystemRoot%\resources\themes\Aero\Aero.msstyles
ColorStyle=NormalColor
Size=NormalSize
ColorizationColor=0X6B74B8FC
Transparency=1
[MasterThemeSelector]
MTSM=DABJDKT

对Random Image Widget的一点修改

今天上午陪老婆出去逛街买衣服和鞋, 回来有点累了, 倒头就睡. 再睁眼时已经是晚上七点了, 被老婆打起来吃晚饭.

饭后无所事事, 于是打开Blog看看, 准备写点什么. 看到了Random Image这个Widget, 感觉似乎离自己的要求还差一点点. 打开代码看看, 于是有了现在的效果.

如果你对这个效果感兴趣, 可以联系我索取打包的修改文件. 如果你有一些网页编写知识, 喜欢自己动手, 那么就看看下面的步骤:

1. 备份 wp-content/plugins/random-image-widget/random_image.php

2. 修改 random_image.php,
修改第91行 echo ‘<a href=”‘;, 新的代码为: echo ‘<a class=”p1″ href=”‘;
在第94行插入以下代码:
echo $img_scale;
echo ‘ alt=”‘ . $caption . ‘”‘;
echo ‘ />’;
echo ‘”

3. 备份 wp-content/themes/[你的主题]/style.css

4. 修改 wp-content/themes/[你的主题]/style.css, 添加下面的样式:
/* Begin Random Image */
#random_image_wrapper {
position: relative;
}

#random_image_wrapper a .large {
border: 0px;
display: block;
height: 1px;
position: absolute;
width: 1px;
}

#random_image_wrapper a img {
border: 0;
}

#random_image_wrapper a.p1, #random_image_wrapper a.p1:visited {
border: 0px solid #000000;
display: block;
text-decoration: none;
}

#random_image_wrapper a.p1:hover {
text-decoration: none;
}

#random_image_wrapper a.p1:hover .large {
border: 1px solid #000000;
display: block;
position: absolute;
width: 320px;
height: 240px;
}
/* End Random Image */