Giter VIP home page Giter VIP logo

photo-equipment's Introduction

  • 👋 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

photo-equipment's People

Contributors

dongyi avatar liutaihua avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

photo-equipment's Issues

用户注册

  1. 在本站注册
  2. 用微博, 豆瓣, 人人帐号登录的, 重定向到注册页面(某些情况可能不要重定向到注册, 因为可能用户点击过来看某个东西)

无忌器材属性转换

现在抓下来的属性都是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 要变成实际的属性名

图片没有抓

数据库里存的图片是无忌上的地址, 要wget下来转化成自己的地址

换mysql, 建新的表

先把原来sqlite的数据导入到mysql, 代码改成tornado.database的

跑通后加新的表:

个人器材表
(userid, equipmentid, type, rating)
个人账户表
(从豆瓣,微博,人人登录过来的用户第一次登录让他注册)

申请各种帐号

config/web_config里的apikey和apisecret都要换掉

人人
豆瓣
微博

还有google adsense, google analyze账号

上传图片

标记使用的器材

给图片打分

评论图片

对评论进行'踩' '顶' 操作, 让好的评论上浮

增加品牌分类

rt

category的请求, 参数用get参数
类似?brand=canon&type=ff_lens

添加修改器材的时候先选分类

这样有些字段就不用填了, 不然用户觉得麻烦

比如apsc镜头信息, 就不用填机身的属性
这个用js在前端实现就ok, 不填的字段发送''给服务器

个人装备

像豆瓣的条目一样, 在用,想用,用过,

打分

操作一定要简单

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.