XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old May 26th, 2000, 12:44 AM
mfkoo mfkoo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 65 mfkoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Yes, thanks you to all here.....

Actually i got the source(data) from one site www.moreover.com

they give me a xml formated file which prodived a lot of dayly update news link.

Now, i need some program, they call parser to get the source and print it out as normal html file......

Reply With Quote
  #2  
Old June 19th, 2000, 05:47 PM
bluginger bluginger is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 4 bluginger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
MFK,

you can find a parser anywhere? do you use Perl, then use XML::Parser (search.cpan.org) to parse the XML. did moreover.com (for syndicated news content consider mediaxpress.com or isyndicate.com) give you an XML schema or DTD to tell you what the data will be like. probably and if so, you can feed that into XML: URLarser and use XML::Grove or something to create a forest of data.

enjoy,


<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by mfkoo:
Yes, thanks you to all here.....


Actually i got the source(data) from one site www.moreover.com


they give me a xml formated file which prodived a lot of dayly update news link.


Now, i need some program, they call parser to get the source and print it out as normal html file......
[/quote]




------------------
<anu />

Reply With Quote
  #3  
Old June 25th, 2000, 10:25 PM
mfkoo mfkoo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 65 mfkoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
sorry for the late reply....

yes they do give the xml compiled file like below..

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE moreovernews SYSTEM "http://p.moreover.com/xml_dtds/moreovernews.dtd">
<moreovernews>
<article id="_7821835">
<url>http://c.moreover.com/click/here.pl?x7821834</url>
<headline_text>Block Management Changes in Wake of Founder's Retirement</headline_text>
<source>Electronic Accountant</source>
<media_type>text</media_type>
<cluster>Accounting news</cluster>
<tagline> </tagline>
<document_url>http://www.electronicaccountant.com/html/newswire/newswire.htm</document_url>
<harvest_time>Jun 24 2000 6:33AM</harvest_time>
<access_registration> </access_registration>
<access_status> </access_status>
</article>
<article id="_7821837">
<url>http://c.moreover.com/click/here.pl?x7821836</url>
<headline_text>IRS Tax Shelter Regs Could Harm Small Practitioners</headline_text>
<source>Electronic Accountant</source>
<media_type>text</media_type>
<cluster>Accounting news</cluster>
<tagline> </tagline>
<document_url>http://www.electronicaccountant.com/html/newswire/newswire.htm</document_url>
<harvest_time>Jun 24 2000 6:33AM</harvest_time>
<access_registration> </access_registration>
<access_status> </access_status>
</article>
</moreovernews>

but now, i need to use php the parse that xml file, i dont know how.......can you give some idea....

Reply With Quote
  #4  
Old June 26th, 2000, 04:00 AM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 741 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
look at the post below 'XML parser for devshednews.rdf' - its in PHP - look at how it works and you should soon be on your way, only thing is I am not so hot with regex so it could probably be optimised - any help appreciated

------------------
Simon Wheeler
FirePages -DHTML/PHP/MySQL

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > How about the parser??


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway