プロキシ経由で RSS を取得して返す [Windows/ASP/VBScript]
JavaScript で RSS をパースして Web 画面上に表示しようとした場合、セキュリティのために、
JavaScript が置いてあるサーバーと同じドメインから RSS を返さないといけないようになっている。
いろいろ試行錯誤の末、プロキシ越しに RSS を取得して内容をそのままクライアントに返す ASP が書けた。長いこと悩んだ問題が、解決。かなりれしい。
Option Explicit Dim xmlHttp Set xmlHttp = Server.CreateObject("WinHttp.WinHttpRequest.5.1") xmlHttp.setProxy 2, "1.2.3.4:8080" xmlHttp.open "GET", "http://bulknews.net/rss/rdf.cgi?NikkeiNet", False xmlHttp.Send xmlHttp.WaitForResponse Response.ContentType="application/xml" Response.Charset="utf-8" Response.BinaryWrite(xmlHttp.ResponseBody)
↓の JavaScript と組み合わせて、イントラの画面にニュースが表示できるようになった。
http://blog.so-net.ne.jp/nakagami/2006-04-19
Python で feedparser なんか使えば、こんな回りくどいことしなくてもいいんだけどね。
Does Amoxicillin React With Alcohol <a href=https://apcialisle.com/#>Cialis</a> About Keflex 500 <a href=https://apcialisle.com/#>Buy Cialis</a> Achat Kamagra En Ligne
by JanTrum (2020-03-18 12:45)
Il Viagra Alza La Pressione <a href=http://cialibuy.com/#>Cialis</a> Viagra Online A Basso Costo <a href=http://cialibuy.com/#>Cialis</a> Acquistare Viagra Roma
by JanTrum (2020-04-09 13:45)
Farmcy On Line <a href=https://abuycialisb.com/>buy cialis without presc</a> Escitalopram Pills <a href=https://abuycialisb.com/#>cialis generic timeline</a> Benadryl And Amoxicillin Same Time
by adjunny (2020-06-13 08:48)
Drugs prescribing information. What side effects?
<a href="https://zyprexa4u.top">zyprexa without dr prescription</a> in Canada
Best trends of meds. Get here.
https://kobieta.facet.dziecko.e-magnes.pl/artykuly/styl-zycia-z-zycia-gwiazd/czystek-ziolo-prawdziwe-wlasciwosci-zdrowotne-czystka?page=6#comment-149242 Everything about meds. https://jpn.tik-tok-rank.com/tiktoker?user_id=121 Actual trends of medicine. http://barcelonaforum.ru/obschii-2/wap-sixe-girls-6039/#post200598 All trends of drug. 72e61b9
by DavidSxc (2021-01-11 23:42)