• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Web2 Rss With Perl
 

Web2 Rss With Perl

on

  • 3,614 views

Web2RSS at Korean Perl Workshop 2008.

Web2RSS at Korean Perl Workshop 2008.

Statistics

Views

Total Views
3,614
Views on SlideShare
3,485
Embed Views
129

Actions

Likes
0
Downloads
7
Comments
0

7 Embeds 129

http://www.codeordie.org 78
http://www.hanrss.com 35
file:// 11
http://codeordie.org 2
http://66.102.9.104 1
http://static.slideshare.net 1
http://www.slideshare.net 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Web2 Rss With Perl Web2 Rss With Perl Presentation Transcript

    • Web2RSS with Perl $펄마니아->{김기석}
    • http://code.google.com/p/web2rss/ svn checkout http ://web2rss.googlecode.com/svn/trunk/ web2rss
    • Web2RSS ?
    • 왜 RSS 로? RSS Reader Flash(Flex) Silverlight gadget rss2email rss2js rss2html rss2json ....
    • Web | RSS > rss.xml 1. HTML 소스 가져오기 2. HTML 소스에서 원하는 부분을 저장 3. RSS 포멧으로 출력
    • use LWP::Simple; # HTML 소스 가져오기  my $html = get(http://event.perl.kr/kpw2008); # 정규표현식으로 원하는 부분 저장 하기  my ( $rss_title ) = ( $html =~ m!(.+?)!i ); my ( $title, $desc ) = ( $html =~ m!

      (.+?)

      (.+?)
      !i ); # RSS 포멧으로 출력 $rss->save('rss.xml');