外部のWebサイトから1ページを読み込むことはできますか?jQuery外部サイトのページをロード
私は、単一のページを表示しようとしていますが、それは仕事を得るように見えることはできません
$("#response").load("http://domain.com", function(response, status, xhr) {
if (status == "error") {
var msg = "Sorry but there was an error: ";
alert(msg + xhr.status + " " + xhr.statusText);
}
});
ヘルプを大幅に
はい、それは可能ですが、あなたはPHP :) –
の1行は、こちらをご覧ください必要があります - http://en.wikipedia.org/をwiki/Cross-origin_resource_sharing and here http://msdn.microsoft.com/en-us/library/windows/apps/hh767443.aspx – Bakudan
RSSフィードが必要なだけで、Googleに頼るのに気にしないのであれば[ jquery-feeds](https://github.com/camagu/jquery-feeds/)を参照してください。 – guaka