ͼƬ [转载]rainmeter中的Rss全面设置_球探体育_篮球比分直播-足球平台

用户名:

密码:

验证码:

2017年

[转载]rainmeter中的Rss全面设置

2013-10-16 19:08 点击次数 :

[转载]rainmeter中的Rss全面设置 (2011-12-07 23:00:39)

标签: 转载

mark

原文地址:rainmeter中的Rss全面设置作者:星之夜

玩rainmeter多天了,但是对于其RSS新闻设置,始终搞不定,总是只出现一个网站中的十条新闻,而我想需要的是出现十个网站中的各自第一条新闻.苦闷了良久,终成正果.现在把体验写出来,供其他朋友参阅.

对rainmeter RSS新闻的设置,主要在其news.ini文件中.打开这个文件和方法有多种,我们采用一般的方法.

1.运行rainmeter,


2.在界面上右击,选择config

3.选择新闻RSS,再勾选后面的news.ini

4.新闻RSS开始运行,一般默认显示QQnews新闻.

5.在这个新闻标题上右击,在弹出的菜单中选择skin menu下拉菜单中的配置皮肤.

6.这样就打开了,新闻Rss的news.ini文件,下面你就可以动手进行编辑了.


7.文件中的第一个主题(项目)分别用------线相隔.条目非常清晰.主要字段名称都用[]括住.

8.如果你想显示一个网站的前十个新闻一般方法如下:我以新浪的财经的新闻为例来说明,新浪财经的新闻的RSS地址为

你最好是打开你电脑的news.ini文件与我下面的对照这样会更好一些.原文件没有前面的行号,为了好叙述我加了行号,希望朋友注意.注意10,29行)

  1  [Rainmeter]
  2  BackgroundMode=1
  3  AppVersion=11230
  4  Update=1000
  5  DynamicWindowSize=1
  6  W=128
  7 
  8  [Variables]
  9  URL=http://news.qq.com/newsgn/rss_newsgn.xml
 10  Title=QQnews(修改这个地方,可以修改新闻框上显示的标题,修改为新浪新闻)
 11  Link=http://news.qq.com
 12  Browser=firefox.exe
 13 
 14  Font=微软雅黑
 15  Color1=105,190,255,240
 16  Color2=255, 255, 255, 200
 17  Color3=255, 255, 255, 200
 18  ColorActive=105,190,255,240
 19  Height1=10
 20  Height2=9
 21  AntiAlias=1
 22  Substitute="&amp;":"&","&quot;":"","&Quot;":"","&lt;br&gt;":"","![CDATA[":"","]]":"","...":"","<":"",">":"","/PRE&gt;":"","PRE&gt;":"","&lt;":"","&#39;":"'"
 23 
 24  ; ------------------------------------------------------------------------------------------------
 25 
 26  [RSS]
 27  Measure=Plugin
 28  Plugin=PluginsWebParser.dll
 29  Url=#URL#(你只需要把这个=号后面的符号,换成你的地址就行了,如改变后成为

Url=http://rss.sina.com.cn/roll/finance/hot_roll.xml)

 30  RegExp="(?siU)<title>(.*)</title>(?(?=.*<lastBuildDate>(.*)</lastBuildDate>))(?(?=.*<link>(.*)</link>.)).*<description>(.*)</description>(?:(?:.*<url>(.*)</url>)|.*).*<item(?:.*<title>(.*)</title>(?(?=.*<pubDate>(.*)</pubDate>)).*<link>(.*)</link>.*<description>(.*)</description>|.*)(?:.*<title>(.*)</title>(?(?=.*<pubDate>(.*)</pubDate>)).*<link>(.*)</link>.*<description>(.*)</description>|.*)(?:.*<title>(.*)</title>(?(?=.*<pubDate>(.*)</pubDate>)).*<link>(.*)</link>.*<description>(.*)</description>|.*)(?:.*<title>(.*)</title>(?(?=.*<pubDate>(.*)</pubDate>)).*<link>(.*)</link>.*<description>(.*)</description>|.*)(?:.*<title>(.*)</title>(?(?=.*<pubDate>(.*)</pubDate>)).*<link>(.*)</link>.*<description>(.*)</description>|.*)(?:.*<title>(.*)</title>(?(?=.*<pubDate>(.*)</pubDate>)).*<link>(.*)</link>.*<description>(.*)</description>|.*)(?:.*<title>(.*)</title>(?(?=.*<pubDate>(.*)</pubDate>)).*<link>(.*)</link>.*<description>(.*)</description>|.*)(?:.*<title>(.*)</title>(?(?=.*<pubDate>(.*)</pubDate>)).*<link>(.*)</link>.*<description>(.*)</description>|.*)(?:.*<title>(.*)</title>(?(?=.*<pubDate>(.*)</pubDate>)).*<link>(.*)</link>.*<description>(.*)</description>|.*)(?:.*<title>(.*)</title>(?(?=.*<pubDate>(.*)</pubDate>)).*<link>(.*)</link>.*<description>(.*)</description>|.*)(?:.*<title>(.*)</title>(?(?=.*<pubDate>(.*)</pubDate>)).*<link>(.*)</link>.*<description>(.*)</description>|.*)(?:.*<title>(.*)</title>(?(?=.*<pubDate>(.*)</pubDate>)).*<link>(.*)</link>.*<description>(.*)</description>|.*)"
 31  UpdateRate=60
 32  StringIndex=1
 33 
 34  [MeasureRSS1]
 35  Measure=Plugin
 36  Plugin=PluginsWebParser.dll
 37  Url=[RSS]
 38  StringIndex=6
 39  Substitute=#Substitute#
 40 
 41  [MeasureLink1]
 42  Measure=Plugin
 43  Plugin=PluginsWebParser.dll
 44  Url=[RSS]
 45  StringIndex=8
 46  Substitute="&amp;":"&"
 47 
 48  ---
 49 
 50  [MeasureRSS2]
 51  Measure=Plugin
 52  Plugin=PluginsWebParser.dll
 53  Url=[RSS]
 54  StringIndex=10
 55  Substitute=#Substitute#
 56 
 57  [MeasureLink2]
 58  Measure=Plugin
 59  Plugin=PluginsWebParser.dll
 60  Url=[RSS]
 61  StringIndex=12
 62  Substitute="&amp;":"&"
 63 
 64  ---
 65 
 66  [MeasureRSS3]
 67  Measure=Plugin
 68  Plugin=PluginsWebParser.dll
 69  Url=[RSS]
 70  StringIndex=14
 71  Substitute=#Substitute#
 72 
 73  [MeasureLink3]
 74  Measure=Plugin
 75  Plugin=PluginsWebParser.dll
 76  Url=[RSS]
 77  StringIndex=16
 78  Substitute="&amp;":"&"
 79 
 80  ---
 81 
 82  [MeasureRSS4]
 83  Measure=Plugin
 84  Plugin=PluginsWebParser.dll
 85  Url=[RSS]
 86  StringIndex=18
 87  Substitute=#Substitute#
 88 
 89  [MeasureLink4]
 90  Measure=Plugin
 91  Plugin=PluginsWebParser.dll
 92  Url=[RSS]
 93  StringIndex=20
 94  Substitute="&amp;":"&"
 95 
 96  ---
 97 
 98  [MeasureRSS5]
 99  Measure=Plugin
100  Plugin=PluginsWebParser.dll
101  Url=[RSS]
102  StringIndex=22
103  Substitute=#Substitute#
104 
105  [MeasureLink5]
106  Measure=Plugin
107  Plugin=PluginsWebParser.dll
108  Url=[RSS]
109  StringIndex=24
110  Substitute="&amp;":"&"
111 
112  ---
113 
114  [MeasureRSS6]
115  Measure=Plugin
116  Plugin=PluginsWebParser.dll
117  Url=[RSS]
118  StringIndex=26
119  Substitute=#Substitute#
120 
121  [MeasureLink6]
122  Measure=Plugin
123  Plugin=PluginsWebParser.dll
124  Url=[RSS]
125  StringIndex=28
126  Substitute="&amp;":"&"
127 
128  ---
129 
130  [MeasureRSS7]
131  Measure=Plugin
132  Plugin=PluginsWebParser.dll
133  Url=[RSS]
134  StringIndex=30
135  Substitute=#Substitute#
136 
137  [MeasureLink7]
138  Measure=Plugin
139  Plugin=PluginsWebParser.dll
140  Url=[RSS]
141  StringIndex=32
142  Substitute="&amp;":"&"
143 
144  ---
145 
146  [MeasureRSS8]
147  Measure=Plugin
148  Plugin=PluginsWebParser.dll
149  Url=[RSS]
150  StringIndex=34
151  Substitute=#Substitute#
152 
153  [MeasureLink8]
154  Measure=Plugin
155  Plugin=PluginsWebParser.dll
156  Url=[RSS]
157  StringIndex=36
158  Substitute="&amp;":"&"
159 
160  ---
161 
162  [MeasureRSS9]
163  Measure=Plugin
164  Plugin=PluginsWebParser.dll
165  Url=[RSS]
166  StringIndex=38
167  Substitute=#Substitute#
168 
169  [MeasureLink9]
170  Measure=Plugin
171  Plugin=PluginsWebParser.dll
172  Url=[RSS]
173  StringIndex=40
174  Substitute="&amp;":"&"
175 
176  ---
177 
178  [MeasureRSS10]
179  Measure=Plugin
180  Plugin=PluginsWebParser.dll
181  Url=[RSS]
182  StringIndex=42
183  Substitute=#Substitute#
184 
185  [MeasureLink10]
186  Measure=Plugin
187  Plugin=PluginsWebParser.dll
188  Url=[RSS]
189  StringIndex=44
190  Substitute="&amp;":"&"
191 
192  ; ------------------------------------------------------------------------------------------------
193  [Backing]
194  Meter=IMAGE
195  SolidColor=0, 0, 0, 60
196  X=0
197  Y=13
198  W=128
199  H=175
200 
201  [Title]
202  Meter=STRING
203  MeasureName=RSS
204  X=32
205  Y=12
206  StringStyle=BOLD
207  FontColor=#Color1#
208  FontSize=#Height1#
209  FontFace=#Font#
210  AntiAlias=1
211  Text="#Title#"
212  LeftMouseDownAction=!execute [!RainmeterShowMeter TitleActive][!RainmeterHideMeter Title][!RainmeterRedraw]
213 
214  [TitleActive]
215  Meter=STRING
216  MeasureName=RSS
217  X=r
218  Y=r
219  StringStyle=BOLD
220  FontColor=#ColorLink#
221  FontSize=#Height1#
222  FontFace=#Font#
223  AntiAlias=1
224  Text="#Title#"
225  Hidden=1
226  ;LeftMouseUpAction=!execute ["#Browser#" "#Link#"][!RainmeterShowMeter Title][!RainmeterHideMeter TitleActive][!RainmeterRedraw]
227  LeftMouseUpAction=!execute [!RainmeterShowMeter Feed1][!RainmeterHideMeter Link1][!RainmeterShowMeter Feed2][!RainmeterHideMeter Link2][!RainmeterShowMeter Feed3][!RainmeterHideMeter Link3][!RainmeterShowMeter Feed4][!RainmeterHideMeter Link4][!RainmeterShowMeter Feed5][!RainmeterHideMeter Link5][!RainmeterShowMeter Feed6][!RainmeterHideMeter Link6][!RainmeterShowMeter Feed7][!RainmeterHideMeter Link7][!RainmeterShowMeter Feed8][!RainmeterHideMeter Link8][!RainmeterShowMeter Feed9][!RainmeterHideMeter Link9][!RainmeterShowMeter Feed10][!RainmeterHideMeter Link10][!RainmeterShowMeter Title][!RainmeterHideMeter TitleActive][!RainmeterRedraw]
228 
229  [Feed1]
230  Meter=STRING
231  MeasureName=MeasureRSS1
232  X=5
233  Y=32
234  H=15
235  W=123
236  ClipString=1
237  StringStyle=Bold
238  FontColor=#Color2#
239  FontSize=#Height2#
240  FontFace=#Font#
241  AntiAlias=1
242  MouseOverAction=!execute [!RainmeterShowMeter Link1][!RainmeterHideMeter Feed1][!RainmeterRedraw]
243 
244  [Link1]
245  Meter=STRING
246  MeasureName=MeasureRSS1
247  X=r
248  Y=r
249  H=15
250  W=123
251  ClipString=1
252  StringStyle=Bold
253  FontColor=#ColorActive#
254  FontSize=#Height2#
255  FontFace=#Font#
256  AntiAlias=1
257  Hidden=1
258  MouseLeaveAction=!execute [!RainmeterShowMeter Feed1][!RainmeterHideMeter Link1][!RainmeterRedraw]
259  LeftMouseDownAction=[MeasureLink1]
260 
261  [Feed2]
262  Meter=STRING
263  MeasureName=MeasureRSS2
264  MeasureName2=MeasureLink2
265  X=r
266  Y=15r
267  H=15
268  W=123
269  ClipString=1
270  StringStyle=Bold
271  FontColor=#Color3#
272  FontSize=#Height2#
273  FontFace=#Font#
274  AntiAlias=1
275  MouseOverAction=!execute [!RainmeterShowMeter Link2][!RainmeterHideMeter Feed2][!RainmeterRedraw]
276 
277  [Link2]
278  Meter=STRING
279  MeasureName=MeasureRSS2
280  X=r
281  Y=r
282  H=15
283  W=123
284  ClipString=1
285  StringStyle=Bold
286  FontColor=#ColorActive#
287  FontSize=#Height2#
288  FontFace=#Font#
289  AntiAlias=1
290  Hidden=1
291  MouseLeaveAction=!execute [!RainmeterShowMeter Feed2][!RainmeterHideMeter Link2][!RainmeterRedraw]
292  LeftMouseDownAction=[MeasureLink2]
293 
294  [Feed3]
295  Meter=STRING
296  MeasureName=MeasureRSS3
297  MeasureName2=MeasureLink3
298  X=r
299  Y=15r
300  H=15
301  W=123
302  ClipString=1
303  StringStyle=Bold
304  FontColor=#Color2#
305  FontSize=#Height2#
306  FontFace=#Font#
307  AntiAlias=1
308  MouseOverAction=!execute [!RainmeterShowMeter Link3][!RainmeterHideMeter Feed3][!RainmeterRedraw]
309 
310  [Link3]
311  Meter=STRING
312  MeasureName=MeasureRSS3
313  X=r
314  Y=r
315  H=15
316  W=123
317  ClipString=1
318  StringStyle=Bold
319  FontColor=#ColorActive#
320  FontSize=#Height2#
321  FontFace=#Font#
322  AntiAlias=1
323  Hidden=1
324  MouseLeaveAction=!execute [!RainmeterShowMeter Feed3][!RainmeterHideMeter Link3][!RainmeterRedraw]
325  LeftMouseDownAction=[MeasureLink3]
326 
327  [Feed4]
328  Meter=STRING
329  MeasureName=MeasureRSS4
330  MeasureName2=MeasureLink4
331  X=r
332  Y=15r
333  H=15
334  W=123
335  ClipString=1
336  StringStyle=Bold
337  FontColor=#Color3#
338  FontSize=#Height2#
339  FontFace=#Font#
340  AntiAlias=1
341  MouseOverAction=!execute [!RainmeterShowMeter Link4][!RainmeterHideMeter Feed4][!RainmeterRedraw]
342 
343  [Link4]
344  Meter=STRING
345  MeasureName=MeasureRSS4
346  X=r
347  Y=r
348  H=15
349  W=123
350  ClipString=1
351  StringStyle=Bold
352  FontColor=#ColorActive#
353  FontSize=#Height2#
354  FontFace=#Font#
355  AntiAlias=1
356  Hidden=1
357  MouseLeaveAction=!execute [!RainmeterShowMeter Feed4][!RainmeterHideMeter Link4][!RainmeterRedraw]
358  LeftMouseDownAction=[MeasureLink4]
359 
360  [Feed5]
361  Meter=STRING
362  MeasureName=MeasureRSS5
363  MeasureName2=MeasureLink5
364  X=r
365  Y=15r
366  H=15
367  W=123
368  ClipString=1
369  StringStyle=Bold
370  FontColor=#Color2#
371  FontSize=#Height2#
372  FontFace=#Font#
373  AntiAlias=1
374  MouseOverAction=!execute [!RainmeterShowMeter Link5][!RainmeterHideMeter Feed5][!RainmeterRedraw]
375 
376  [Link5]
377  Meter=STRING
378  MeasureName=MeasureRSS5
379  X=r
380  Y=r
381  H=15
382  W=123
383  ClipString=1
384  StringStyle=Bold
385  FontColor=#ColorActive#
386  FontSize=#Height2#
387  FontFace=#Font#
388  AntiAlias=1
389  Hidden=1
390  MouseLeaveAction=!execute [!RainmeterShowMeter Feed5][!RainmeterHideMeter Link5][!RainmeterRedraw]
391  LeftMouseDownAction=[MeasureLink5]
392 
393  [Feed6]
394  Meter=STRING
395  MeasureName=MeasureRSS6
396  MeasureName2=MeasureLink6
397  X=r
398  Y=15r
399  H=15
400  W=123
401  ClipString=1
402  StringStyle=Bold
403  FontColor=#Color3#
404  FontSize=#Height2#
405  FontFace=#Font#
406  AntiAlias=1
407  MouseOverAction=!execute [!RainmeterShowMeter Link6][!RainmeterHideMeter Feed6][!RainmeterRedraw]
408 
409  [Link6]
410  Meter=STRING
411  MeasureName=MeasureRSS6
412  X=r
413  Y=r
414  H=15
415  W=123
416  ClipString=1
417  StringStyle=Bold
418  FontColor=#ColorActive#
419  FontSize=#Height2#
420  FontFace=#Font#
421  AntiAlias=1
422  Hidden=1
423  MouseLeaveAction=!execute [!RainmeterShowMeter Feed6][!RainmeterHideMeter Link6][!RainmeterRedraw]
424  LeftMouseDownAction=[MeasureLink6]
425 
426  [Feed7]
427  Meter=STRING
428  MeasureName=MeasureRSS7
429  MeasureName2=MeasureLink7
430  X=r
431  Y=15r
432  H=15
433  W=123
434  ClipString=1
435  StringStyle=Bold
436  FontColor=#Color2#
437  FontSize=#Height2#
438  FontFace=#Font#
439  AntiAlias=1
440  MouseOverAction=!execute [!RainmeterShowMeter Link7][!RainmeterHideMeter Feed7][!RainmeterRedraw]
441 
442  [Link7]
443  Meter=STRING
444  MeasureName=MeasureRSS7
445  X=r
446  Y=r
447  H=15
448  W=123
449  ClipString=1
450  StringStyle=Bold
451  FontColor=#ColorActive#
452  FontSize=#Height2#
453  FontFace=#Font#
454  AntiAlias=1
455  Hidden=1
456  MouseLeaveAction=!execute [!RainmeterShowMeter Feed7][!RainmeterHideMeter Link7][!RainmeterRedraw]
457  LeftMouseDownAction=[MeasureLink7]
458 
459  [Feed8]
460  Meter=STRING
461  MeasureName=MeasureRSS8
462  MeasureName2=MeasureLink8
463  X=r
464  Y=15r
465  H=15
466  W=123
467  ClipString=1
468  StringStyle=Bold
469  FontColor=#Color3#
470  FontSize=#Height2#
471  FontFace=#Font#
472  AntiAlias=1
473  MouseOverAction=!execute [!RainmeterShowMeter Link8][!RainmeterHideMeter Feed8][!RainmeterRedraw]
474 
475  [Link8]
476  Meter=STRING
477  MeasureName=MeasureRSS8
478  X=r
479  Y=r
480  H=15
481  W=123
482  ClipString=1
483  StringStyle=Bold
484  FontColor=#ColorActive#
485  FontSize=#Height2#
486  FontFace=#Font#
487  AntiAlias=1
488  Hidden=1
489  MouseLeaveAction=!execute [!RainmeterShowMeter Feed8][!RainmeterHideMeter Link8][!RainmeterRedraw]
490  LeftMouseDownAction=[MeasureLink8]
491 
492  [Feed9]
493  Meter=STRING
494  MeasureName=MeasureRSS9
495  MeasureName2=MeasureLink9
496  X=r
497  Y=15r
498  H=15
499  W=123
500  ClipString=1
501  StringStyle=Bold
502  FontColor=#Color2#
503  FontSize=#Height2#
504  FontFace=#Font#
505  AntiAlias=1
506  MouseOverAction=!execute [!RainmeterShowMeter Link9][!RainmeterHideMeter Feed9][!RainmeterRedraw]
507 
508  [Link9]
509  Meter=STRING
510  MeasureName=MeasureRSS9
511  X=r
512  Y=r
513  H=15
514  W=123
515  ClipString=1
516  StringStyle=Bold
517  FontColor=#ColorActive#
518  FontSize=#Height2#
519  FontFace=#Font#
520  AntiAlias=1
521  Hidden=1
522  MouseLeaveAction=!execute [!RainmeterShowMeter Feed9][!RainmeterHideMeter Link9][!RainmeterRedraw]
523  LeftMouseDownAction=[MeasureLink9]
524 
525  [Feed10]
526  Meter=STRING
527  MeasureName=MeasureRSS10
528  MeasureName2=MeasureLink10
529  X=r
530  Y=15r
531  H=15
532  W=123
533  ClipString=1
534  StringStyle=Bold
535  FontColor=#Color3#
536  FontSize=#Height2#
537  FontFace=#Font#
538  AntiAlias=1
539  MouseOverAction=!execute [!RainmeterShowMeter Link10][!RainmeterHideMeter Feed10][!RainmeterRedraw]
540 
541  [Link10]
542  Meter=STRING
543  MeasureName=MeasureRSS10
544  X=r
545  Y=r
546  H=15
547  W=123
548  ClipString=1
549  StringStyle=Bold
550  FontColor=#ColorActive#
551  FontSize=#Height2#
552  FontFace=#Font#
553  AntiAlias=1
554  Hidden=1
555  MouseLeaveAction=!execute [!RainmeterShowMeter Feed10][!RainmeterHideMeter Link10][!RainmeterRedraw]
556  LeftMouseDownAction=[MeasureLink10]
557 
558 
559  [MeterMessage]
560  Meter=STRING
561  X=5
562  Y=12
563  FontColor=139,0,0,255
564  FontSize=7
565  StringStyle=Bold
566  FontFace=Trebuchet MS
567  Text=""
568  AntiAlias=1
569  LeftMouseDownAction=!RainmeterDeactivateConfig "RSSRSS" "Lifehacker.ini

好了,这就行了,就足可以显示十行的新浪新闻了。

 

分享:

喜欢

阅读┊ ┊ ┊ ┊ ┊打印┊

已投稿到:

圈子

加载中,深圳新闻网,请稍候......

前一篇:[转载]IPv6存四大致命缺陷,应立即停止

后一篇:[转载]rainmeter中的Rss全面设置(三)

评论

  • 评论加载中,请稍候...
  • 发评论

    登录名: 密码: 找回密码 注册

    昵   称:

       

    验证码: 请点击后输入验证码

    以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

    < 前一篇[转载]IPv6存四大致命缺陷,应立即停止

    后一篇 >[转载]rainmeter中的Rss全面设置(三)

    (责任编辑:Aiko)
    文章人气:
    • 美欧指责巴将AIP系统
      元级潜艇 团长老丁 自元级潜艇露面以来,其新颖的外形和优异的性能就引起了全世界军事...
      美欧指责巴将AIP系统偷送给中国
    • 深度:我侦察船抵近夏
      新浪军事编者:为了更好的为读者呈现多样军事内容,满足读者不同阅读需求,共同探讨国...
      深度:我侦察船抵近夏威夷意义 监测美军重要试验
    • 中土导弹交易目前协议
      红旗-9防空导弹系统(资料图) 人民网11月15日讯土耳其国防官员14日表示,针对是否同...
      中土导弹交易目前协议很复杂 土耳其官员不愿谈
    • 白俄罗斯空军停用苏27
      俄空军苏27战机(资料图) 人民网11月15日讯14日,白俄罗斯空军和防空部队司令奥列格...
      白俄罗斯空军停用苏27 飞行一次要浪费3吨油
    首页 | 新闻 | 财经 | 军事 | 百科 | 科技 | 数码 | 汽车 | 游戏 | 娱乐 | 体育 | 文化 | 教育 | 房产 | 旅游 | 健康 | 女性 | 明星 | 美女