V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
Honwhy
V2EX  ›  分享创造

深圳图书馆浏览器插件升级版本

  •  
  •   Honwhy · 136 天前 · 1422 次点击
    这是一个创建于 136 天前的主题,其中的信息可能已经有所发展或是发生改变。

    升级版本下载安装地址: https://microsoftedge.microsoft.com/addons/detail/welibrary/mgohlikclghcmgbplhkjjpoecfkhocbo

    升级版本集成更多城市图书馆:深圳广州上海杭州西安长沙等城市。

    概要

    city libraries connect to online service. 将城市图书馆与网上服务联动起来

    How to Use

    场景一

    use extension popup to see book infos extract from website being browsered, book list from weread.qq.com and city libraries borrow list of the month, activity list from city libraries, and see what time do city libraries serve and how to get there. 使用扩展的 popup 弹窗浏览图书信息,图书馆借阅排行榜,图书馆活动预告,图书馆服务时间及交通指南。 image.png image.png image.png image.png image.png image.png

    场景二

    go to book.douban.com jd.com etc. websites ,and check top right block shows loanable storage info from city libraries. 打开豆瓣京东等图书页面,可以在右上角看到图书馆可借阅馆藏信息 image.png image.png

    场景三

    go to book page of city libraries website, and check short comment from douban.com shows at the bottom. 打开图书馆网站的图书信息页面,可以看到豆瓣短评在下方展示 image.png

    场景四

    go to douban.com zhihu.com etc. websites, select text and right click mouse shows context menu with welibrary option, use that option to search books from weread.qq.com or city libraries, and show the search result in the form of drawer at right side. 打开豆瓣知乎等网站,选择文本后右键弹出菜单后选择 welibrary 选项即可搜索微信读书、图书馆网站以获得图书信息,并且用抽屉形式在右侧弹出展示。 image.png image.png

    Behind the Scene

    • content scripts parse website page contents to find book name, then send message to background script
    • background script is listening on messages or context menu options, when 'Search from Shenzhen Library' option is trigger
    • when search message or option is received, background script call api from Shenzhen library, then sends back the search results
    3 条回复    2024-03-08 14:44:23 +08:00
    xiaobinim
        1
    xiaobinim  
       136 天前
    chrome 有吗
    Ericxiaoshuang
        2
    Ericxiaoshuang  
       136 天前 via Android
    关键是,如果没有开放 api ,就属于爬虫了,很刑
    ToDayMkCode
        3
    ToDayMkCode  
       51 天前
    @Ericxiaoshuang 我看邢 哈哈哈
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2687 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 15:34 · PVG 23:34 · LAX 08:34 · JFK 11:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.