- 👋 Hi, I’m @dongyi
- 👀 I’m interested in all sorts of start up stuffs
- 💞️ I’m looking to collaborate on ...
- 📫 How to reach me ... https://t.me/dongyi1110
dongyi / photo-equipment Goto Github PK
View Code? Open in Web Editor NEWmy website
my website
为了补充内容
数据库里存的图片是无忌上的地址, 要wget下来转化成自己的地址
先把原来sqlite的数据导入到mysql, 代码改成tornado.database的
跑通后加新的表:
个人器材表
(userid, equipmentid, type, rating)
个人账户表
(从豆瓣,微博,人人登录过来的用户第一次登录让他注册)
用人人,豆瓣,新浪微博登录
像豆瓣的条目一样, 在用,想用,用过,
打分
操作一定要简单
标记使用的器材
给图片打分
评论图片
对评论进行'踩' '顶' 操作, 让好的评论上浮
现在抓下来的属性都是attr_xx来表示
attr_ids = [496,556,557,7,277,334,255,279,278,256,511,332,
314,312,399,315,313,539,401,345,285,405,286,287,
505,289,351,355,292,295,353,352,288,309,307,305,
297,298,301,303,335,336,337,404,340,342,341,522,
343,273,274,275,281,412,413,414,310,488,491,489,
321,323,490,328,368,494,548,283,397,398,
5,13,15,16,21,333,24,25,26,27,540,754,
31,329,499,492]
可以看无忌上条目页面的源码有attr_id=xxx 要变成实际的属性名
config/web_config里的apikey和apisecret都要换掉
人人
豆瓣
微博
还有google adsense, google analyze账号
简单的单向follow
这样有些字段就不用填了, 不然用户觉得麻烦
比如apsc镜头信息, 就不用填机身的属性
这个用js在前端实现就ok, 不填的字段发送''给服务器
发起一个活动,
简单界面即可
rt
category的请求, 参数用get参数
类似?brand=canon&type=ff_lens
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.