Giter VIP home page Giter VIP logo

nodescrapeosctranslationchannel's Introduction

##个人兴趣爱好 用nodejs 转换的一个开源** 翻译频道 移动浏览版本##

也有在线演示的版本。http://goo.gl/K3Dc8 用了google的短网址服务可能有转换慢,或者无法访问的情况

##2013/6/24## 花了一天,又重构了一遍...

##2013/5/26 重构更新##

在某一天,我花了一天的时间重构了所有代码,这次代码相比上次,简洁了不少。

这个应用,目前对非node 开发者不是很友好,慎用。

这次,采用了leveldb 作为数据库,用于同步,osc china 翻译频带的译文列表,这部分代码,我已经写了完整的测试用例。

受限于OSC服务器,网络问题,现在把文章解析,和文章内联图片分离。

应用主要分为

  1. 同步OSC 译文数据
  1. 同步列表
  1. 同步文章

  2. 转换OSC 文章

  1. 简化列表
  1. 简化文章,把图片下载链接放到leveldb 数据库

  2. 同步图片

以上就为服务端要干的事情了。 暂时,相关代码测试用例里面,个人觉得还有些工作要做,所以暂时没有,数据,图片,我已经打包好放到云碟里面关于 这块你就无需操心了,下载下来就可以运行。

因为这个是完整的开发项目,你clone 下来需要非常的折腾才能运行下来,下面有打包好的win 7 x64平台node v0.10.8 下能够直接运行的版本 https://docs.google.com/file/d/0B9hzKjSMF_5vSEptNzNkaEJkSzQ/edit?usp=sharing

如果你是linux 用户,把项目 clone 下来 在项目目录下运行

npm install

相关依赖就能下载好了,接下来你需要同步osc 的数据库,相关代码在test目录下,过程目前好没整理好。。。。。

nodescrapeosctranslationchannel's People

Contributors

youxiachai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.