使用Windows Live Writer撰写的第一篇博文
2013-12-06 22:03
232 查看
一直没有时间,在自己的电脑上配置起来Windows Live Writer。
今天抽时间搞起来后,感觉果然比在Web版写作不知道爽多少倍哦。
还安装了代码插件,上传代码和图片也方便了很多,霸气。
先上传一小段使用java,通过代理访问网络的样例代码看看,其中有惊喜哦。O(∩_∩)O~
在插入一张图片,祝大家天天开心:
今天抽时间搞起来后,感觉果然比在Web版写作不知道爽多少倍哦。
还安装了代码插件,上传代码和图片也方便了很多,霸气。
先上传一小段使用java,通过代理访问网络的样例代码看看,其中有惊喜哦。O(∩_∩)O~
public void invoke() { try { System.getProperties().setProperty("proxySet", "true"); System.getProperties().put("proxyHost", "10.77.148.124"); System.getProperties().put("proxyPort", "3128"); URL myURL = new URL( "http://91sp.vido.ws/getfile.php?VID=53861&mp4=0&seccode=b5b545d152ccb1525bdad01af1c20e01&max_vid=54847"); URLConnection yc = myURL.openConnection(); BufferedReader in = new BufferedReader(new InputStreamReader(yc .getInputStream())); String inputLine; Set<String> linkSet = new HashSet<String>(); while ((inputLine = in.readLine()) != null) { System.out.println(inputLine); Matcher m = p.matcher(inputLine); while (m.find()) { System.out.println(m.group()); linkSet.add(m.group()); } } in.close(); for (String strUrl : linkSet) { getFile(strUrl); } } catch (Exception e) { e.printStackTrace(); } finally { } }
在插入一张图片,祝大家天天开心:
相关文章推荐
- 我的第一篇用Windows Live Writer 写的博文
- 通过windows live writer 在wordpress里撰写带图片的博文
- 通过windows live writer 在wordpress里撰写带图片的博文
- 通过windows live writer 在wordpress里撰写带图片的博文
- 学会使用windows Live Writer发博文了
- 使用windows live writer撰写blog
- 使用Windows Live Writer发布的第一篇日志
- 使用Windows Live Writer撰写CSND博客的配置过程
- 如何使用mklink命令DIY自己的Windows Live Writer——安装、保存博文到D盘
- 使用Windows Live Writer 撰写CSDN博客
- 转载:CSDN、cnblogs使用Windows Live Writer客户端发布日志时相关配置
- Windows Live Writer 绿色便携版(使用问题及安装)(转)
- 分享我的Windows live writer 使用经验
- 赫然:Windows Live Writer 批量博客更新软件使用教程
- 使用Windows Live Writer发布CSDN博客出现500 Internal Server Error
- 使用windows live writer 配置 cnblogs 博客园
- 【超详细教程】使用Windows Live Writer 2012和Office Word 2013 发布文章到博客园全面总结
- 使用Windows Live Writer写BLOG
- 转载:CSDN、cnblogs使用Windows Live Writer客户端发布日志时相关配置
- 使用Windows Live Writer 发布博客园博客