6 2010

Google Reader订阅排行榜-关于Linux

How to Change the Timezone in Linux – wikiHow 5440227

Linux | Define Linux at Dictionary.com 3638332

Yellow Dog Linux 5.0 for PS3 now available for free — how is it … 1072485

Five Best Linux Distributions – Linux – Lifehacker 348031

ThinkGeek :: Linux 331722

Linux – Search Slashdot 328843

HowStuffWorks “What is Linux and why is it so popular?” 158996

Happy 15th Birthday Linux – Linux – Gizmodo 124954

VI Editor / Linux Terminal Cheat Sheet (PDF) – Smashing Magazine 123057

xkcd: Linux User at Best Buy 120369

Linux support dropped from PS3 Firmware 3.21 — Joystiq 101813

Android and Linux Discuss Code Reunion 85597

Official Google Blog: Google Chrome for the holidays: Mac, Linux … 83795

Linux — Download Squad 61743

PS3 Loses Linux Support – PS3 – Kotaku 57832

Intel, Nokia Merge Linux Operating Systems to Form MeeGo 56456

Silverlight 1.0 Released and Silverlight for Linux Announced … 38749

Linux Software News, Reviews & Information at ExtremeTech 37568

Download Google Chrome for Mac OS X and Chrome Browser for Linux 33563

How Linux saved Amazon millions – CNET News 33021

Linux vs. Windows Viruses • The Register 28869

Linux Software | iLounge 27512

Major Distributions – DistroWatch.com: Put the fun back into … 23455

LinuxInsider: Linux News & Information from Around the World 20155

Slashdot – News for nerds, stuff that matters 19043

iPhone Linux – Hack a Day 18657

5 Excellent Downloadable eBooks To Teach Yourself Linux 14801

Chromium Blog: Google Chrome for Linux goes beta! 14052

Python for Linux 13753

Welcome to LWN.net [LWN.net] 13016

Urban Dictionary: linux 12245

Authenticating Linux against Active Directory 11365

Software > GNU/Linux – Mininova 9034

Desktop Linux For The Windows Power User : Introduction 8075

Use a Linux box as an iTunes music server – Mac OS X Hints 8005

Installing Linux in Windows ~ Chris Pirillo 7342

Ubuntu Linux | a community for beginners and experts 7102

Linux | gHacks technology news 6671

nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format 6519

FOSSwire: Unix/Linux Command Cheat Sheet 6440

IBM Redbooks | Linux Client Migration Cookbook, Version 2: A … 6439

LXer: Linux News 6139

Google debuts Chrome for Mac, Linux | Webware – CNET 6018

Linux Questions 5645

Download the latest version of Skype for Linux 5014

HowtoForge – Linux Howtos and Tutorials 4714

Linux Today – Linux IT Management News On Internet Time. 4407

Hulu – Labs 4235

Gentoo Linux — Gentoo Linux News 3690

Screencast of Silverlight installation on Linux 3551


4 2010

Google Reader订阅排行榜-关于Oracle

Oracle Outlines Direct-Sales Sun Plan – BusinessWeek 9481

Oracle Developer Tools Interview – The Java Posse 9472

Oracle Watch by Andy Kurovets » Yanko Design 9233

Oracle and MySQL (by Jeremy Zawodny) 8354

Oracle Pushes Solaris into Quarterly Updates 8057

Oracle President Chuck Phillips Admits Relationship with Woman on … 7176

Java designer resigns from Oracle 6708

Oracle — from Wolfram MathWorld 6484

IBM Redbooks | Oracle to DB2 Conversion Guide for Linux, UNIX, and … 6429

Oracle buys Sun: understanding the impact on open source 5831

BMW Oracle rocks the America’s Cup 5683

Oracle Java SE and Java for Business Critical Patch Update Advisory 5578

William Safire, Political Columnist and Oracle of Language, Dies … 5052

Visual Business Intelligence – Oracle—Have you no shame? 5047

Sun, Oracle, WordPress, and MySQL — Matt Mullenweg 4696

FORA.tv – Oracle CEO Larry Ellison Unscripted 4548

Amazon Web Services Blog: Oracle Enters the AWS Cloud 4482

oracle client & Networking Components | 1 of 6 4410

451 CAOS Theory » Oracle *could* kill off MySQL as a commercial … 4409

What does Oracle-Hyperion mean for SAP customers? 3995

Past Oracle 10-Minute Solutions 3845


2 2010

Google Reader订阅排行榜-关于Java

在google reader中,读者可以搜索自己喜欢的供稿,遗憾的是搜索出来的题目并没有按照rss的订阅数量进行排序。这几天写了个小程序,抓取某个关键词下的所有rss,然后按照订阅数量从大到小排序输出。

下面是关于java的前50名rss:

Java | Define Java at Dictionary.com 3637754

Make: Online : Run Java apps on Android 335208

Java – Search Slashdot 328170

HowStuffWorks “How Java Works” 158790

AppleInsider | Apple’s iPhone 4 SDK license bans ported Flash … 129276

The Perils of JavaSchools – Joel on Software 96237

Java: A Retrospective 84413

Official Google Blog: New features and an early look at Java for … 83452

Gmail Mobile, Java Application 68802

Ajaxian » Java in JavaScript 55355

Close the Java security hole in many browsers | Security | Editors … 52197

Java Destruction – The Daily WTF 47230

Woopra: Free Java-based Site Analytics Application Launches At … 35155

Gosling gusher sinks Oracle’s Java cred • The Register 28771

Java Portable | PortableApps.com – Portable software for USB drives 24367

Google: Java is running “rudderless” « Boy Genius Report 23765

ongoing by Tim Bray · Dynamic Java 22443

Java Design Patterns 22421

Java Article Contest – CodeProject 21792

NASA – Science@NASA J-Track 3D 18907

Google App Engine With Java 17810

Stevey’s Blog Rants: Blogger’s Block #4: Ruby and Java and Stuff 15555

How To Remove Old Versions Of Java Runtime from Your PC 14681

Powell’s Books – Component Development for the Java Platform … 14227

John Resig – Running Java in JavaScript 13330

Introduction to Scala for Java Developers 13234

yui4java: A New Java-to-JavaScript Translator Using YUI 2 » Yahoo … 13026

JAVA Developer’s Journal 12523

The Java Posse 9445

Java(TM) Boutique: The Java Source 7822

Jonathan Schwartz’s Blog: The Rise of JAVA – The Retirement of SUNW 7632

Free Online Games at FreeArcade.com – 3 New Games Added Daily 7538

IBM developerWorks : Java Technology : Technical library view 7519

Java travel guide – Wikitravel 7311

Download Java Runtime Environment 1.6.0.20 (32-bit) – FileHippo.com 7154

The Java Regex API Explained 6961

Slashdot IT Story | Sun Pushes Emergency Java Patch 6906

Good-Tutorials – Java Tutorials 6619

How To Remove The Java Deployment Toolkit From Firefox 6587

JavaScript Source: Free JavaScripts, Tutorials, Example Code … 6508

Ubuntu Linux Install Sun Java Development Kit ( JDK ) and Java … 6460

Oracle Java SE and Java for Business Critical Patch Update Advisory 5561

Speed Test – dslreports.com 5084

Download Sun Java JRE 6 Update 20 – This runtime environment … 4674

C2Call – New browser-based Java VoIP app 4598

‘Java Man’ Takes Age To Extremes – Science News 4537

Google App Engine Blog: Seriously this time, the new language on … 4441

The Artima Developer Community 4366

Paul Buchheit: Java running faster than C 4179

Installing Sun’s Java environment on Debian systems 4064


27 2009

Java(Rome)生成RSS

用到了Rome组件包,另外还需要用到jdom.jar

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<%@ page language="java" import="java.util.*,org.hijava.entity.*,org.hijava.dao.*" pageEncoding="UTF-8"%>
<%@ page import="com.sun.syndication.feed.synd.*,com.sun.syndication.io.*" %>
<%@ page import="java.text.*" %>
<%
	String basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
	response.setContentType("text/xml; charset=UTF-8");
 
	Setting setting=(Setting)application.getAttribute("setting");
	int feed_num=setting.getFeed_num();
 
	List articles=ArticleDao.getArticles(feed_num);
 
	SyndFeed feed = new SyndFeedImpl();
	feed.setFeedType("rss_2.0");//指定RSS版本
	feed.setTitle(setting.getBlog_name());
	feed.setLink(basePath+"index.jsp");
	feed.setDescription(setting.getBlog_desc());
 
	List entries=new ArrayList();
	SimpleDateFormat sdf=new SimpleDateFormat("yyyy/MM/dd");
 
	for(Article article : articles){
	SyndEntry entry=new SyndEntryImpl();
	SyndContent content=new SyndContentImpl();
 
	entry.setTitle(article.getPost_title());
	entry.setLink(basePath+"single.jsp?id="+article.getPost_id());
	entry.setPublishedDate(sdf.parse(article.getPost_date()));
	entry.setAuthor(article.getUser_name());
 
	content.setType("text/plain");
	content.setValue(article.getPost_content());
	entry.setDescription(content);
 
	entries.add(entry);
	}
	feed.setEntries(entries);
	SyndFeedOutput put=new SyndFeedOutput();
	put.output(feed,response.getWriter());
 %>