TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN - Allowing other sites to embed Your content (eg. Hellobar, Qualaroo)

1 点作者 materialhero超过 12 年前
I've been searching through the source files forever and can't figure how sites like hellobar.com and qualaroo.com allow someone to embed the companies content on the webmasters site(Never was too great with javascript.) Can anyone explain, or point me in the direction of a good tutorial to walk me through this? Eventually I'd like to figure out how to personalize this based on uID (etc.), but I'll start with the basics for now. Thank you in advance for any help!

1 comment

andrewmunsell超过 12 年前
They host a script, and provide an code to place on your website. You'll need to learn basic Javascript before you get to the point where you have a script that changes based on a user ID.<p>Hellobar (and a service I am working on) provide variable content based on an ID by requesting a "configuration" file from a server with the provided ID.
评论 #4919679 未加载