- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
就目前而言,这个问题不适合我们的问答形式。我们希望答案得到事实、引用或专业知识的支持,但这个问题可能会引起辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit the help center为指导。
9年前关闭。
我正在做一些关于内容聚合器的研究工作,我很好奇当前的一些 craigslist 聚合器如何将数据放入他们的 mashup 中。
例如,www.housingmaps.com 和现已关闭的 www.chicagocrime.org
如果有网址可以引用就完美了!
最佳答案
对于 AdRavage.com我使用 Magpie RSS(提取从搜索返回的数据)和自定义屏幕抓取类的组合来正确填充构建搜索时使用的城市/类别信息。
例如,要提取类别,您可以:
//scrape category data
$h = new http();
$h->dir = "../cache/";
$url = "http://craigslist.org/";
if (!$h->fetch($url, 300)) {
echo "<h2>There is a problem with the http request!</h2>";
exit();
}
//we need to get all category abbreviations (data looks like: <option value="ccc">community)
preg_match_all ("/<option value=\"(.*)\">([^`]*?)\n/", $h->body, $categoryTemp);
$catNames = $categoryTemp['2'];
//return the array of abreviations
if(sizeof($catNames) > 0)
return $catNames;
else
return $emptyArray = array();
关于mashup - craigslist mashup 如何获取数据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/237124/
你构建的最酷的 mashup 是什么?您使用了哪些 API?混搭如何优于其各部分的总和? 最佳答案 虽然可能不是真正的混搭,但我创建了一个脚本帽,可以读取 Apple Movie Trailer RS
就目前而言,这个问题不适合我们的问答形式。我们希望答案得到事实、引用或专业知识的支持,但这个问题可能会引起辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit the he
我必须为大学类(class)编写一个 mashup 应用程序并且我必须使用一些 API,但我需要自己选择使用什么以及最终应用程序应该做什么。不幸的是,我从来没有制作过这样的应用程序,所以我不确定该怎么
我正在制作一个混搭,其中缩略图将显示在谷歌地图上。 问题是许多缩略图将共享相同的坐标。因此,如果我像标记一样绘制它们,它们将是一个在另一个之上。 你有没有看到这个问题的创造性解决方案?谢谢 最佳答案
Zapier/IFTTT 如何为不同的 API 提供商实现触发器和操作?是否有任何通用方法可以做到这一点,或者它们是由个人实现的? 我认为实现是基于 REST/Oauth,从高层看是通用的。但是对于Z
目标:在 Qlik Sense Mashup 中选择其值之一时,我试图显示列表框的工具栏。 问题:工具栏未显示。 这是代码: ... ...
关闭。这个问题是off-topic .它目前不接受答案。 想改进这个问题? Update the question所以它是on-topic对于堆栈溢出。 9年前关闭。 Improve this que
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 要求我们推荐或查找工具、库或最喜欢的场外资源的问题对于 Stack Overflow 来说是偏离主题的,
我们有一个基于 MVC 和 SQL 成员身份提供程序构建的现有 Web 应用程序,用于用户身份验证。该应用程序还包括用于创建/编辑用户、重置密码、激活帐户等的管理员管理屏幕...这是一个相当成熟的系统
所以我以前从未使用过 requireJS,但因为 Qlik Sense 将其用于混搭,所以我必须以某种方式尝试。 我刚刚做了一个简单的 bootstrap mashup,添加了 highcharts
我正在构建一个混搭来存储来自多个 REST API 数据源的项目的元数据。我希望能够根据跨所有不同数据源汇总的数据生成典型的提要(最新的、评价最高的、观看次数最多的等),并添加标签(即多对多关系)。
我是一名优秀的程序员,十分优秀!