Ir para conteúdo
Fórum Script Brasil
  • 0

Notícias


byfreak

Pergunta

3 respostass a esta questão

Posts Recomendados

  • 0

Eu acho que é isso aqui...

esta num arquivo esterno

<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="0.91">

<channel>

<title>
Apple Press Releases</title>
<link>http://www.apple.com/pr/</link>
<description>Press Releases from Apple Computer, Inc.</description>
<language>en-us</language>
<copyright>Copyright 2003, apple.com.</copyright>
<item>
<title>Apple Introduces iPod nano</title>
<link>http://www.apple.com/pr/library/2005/sep/07ipodnano.html</link>
</item>
<item>
<title>Apple Introduces iTunes 5</title>
<link>http://www.apple.com/pr/library/2005/sep/07itunes.html</link>
</item>
<item>
<title>Apple, Motorola &amp;amp; Cingular Launch World&amp;#146;s First Mobile Phone with iTunes</title>
<link>http://www.apple.com/pr/library/2005/sep/07rokr.html</link>
</item>
<item>
<title>Over 1,000 Accessories Now Available for iPod</title>
<link>http://www.apple.com/pr/library/2005/sep/07ipod_acc.html</link>
</item>
<item>
<title>Apple Teams Up With Acura, Audi, Honda &amp;amp; Volkswagen to Deliver Seamless iPod Experience</title>
<link>http://www.apple.com/pr/library/2005/sep/07ipod_auto.html</link>
</item>
<item>
<title>iTunes Music Store Number One in the UK with 80 Percent Market Share</title>
<link>http://www.apple.com/pr/library/2005/sep/07itms.html</link>
</item>
</channel>
</rss>
dentro do html
<div id="hotnews"><a href="/hotnews/"><img src="http://images.apple.com/home/2005/images/hotnews20050429.gif" width="172" height="26" border="0" 

alt="Hot News Headlines"><img 

src="http://images.apple.com/home/2005/images/ticke

r20050908.gif" width="518" height="26" border="0" 

alt="Hot News Ticker"></a></div>

Abraços

Link para o comentário
Compartilhar em outros sites

  • 0

Se você reparar na parte do xml, lá contem as freses da noticia em destaque<title>, e o link para a noticia inteira<link>...

alem daqueles codigos que coloquei acima tem também esse q esta abaixo, ele se encontra num arquivo externo...

<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
<channel>
<title>Apple Hot News</title>
<link>http://www.apple.com/hotnews/</link>
<description>Hot News provided by Apple.</description>
<language>en-us</language>
<copyright>Copyright 2005, Apple Computer, Inc.</copyright>
<webMaster>rss-feeds@apple.com</webMaster>
<pubDate>Mon, 19 Sep 2005 07:15:00 PST</pubDate>
<lastBuildDate>Mon, 19 Sep 2005 07:15:00 PST</lastBuildDate>
<category>Apple</category>
<generator>In house</generator>
<docs>http://blogs.law.harvard.edu/tech/rss/</docs>
<item>
<title>Golf as Art</title>
<link>http://www.apple.com/pro/</link>
<description>For many, golf is more than a pastime. For Dent-de-Lion du Midi and his colleagues at Lostball, it&amp;#146;s a source of inspiration for creating high-concept, high-def art &amp;#151; from a feature-length film to custom videos to lithographic prints. [Sep 16, 2005]</description>
<pubDate>Fri, 16 Sep 2005 00:00:00 PST</pubDate>
</item>
<item>
<title>Command, Control and Creativity</title>
<link>http://www.apple.com/pro/</link>
<description>Boasting such clients as Starwood&amp;#146;s Sheraton and Westin Hotels, Novartis Worldwide, Johnson &amp;amp; Johnson and Tommy Hilfiger, Deutsch Inc. is a $2.8 billion marketing communications company with a passion for client service and creative quality. The key to its success? Self-reliance &amp;#151; aided by Apple technology. [Sep 16, 2005]</description>
<pubDate>Fri, 16 Sep 2005 00:00:00 PST</pubDate>
</item>
<item>
<title>&amp;#147;iPod&amp;#146;s Law: The Impossible Is Possible&amp;#148;</title>
<link>http://www.nytimes.com/2005/09/15/technology/circuits/15pogue.html</link>
<description>&amp;#147;Well, he&amp;#146;s [Gene Munster, Piper Jaffray analyst] right about one thing: Apple&amp;#146;s market share won&amp;#146;t stay at 80 percent,&amp;#148; writes David Pogue for the New York Times, &amp;#147;It&amp;#146;s about to go up. If you doubt it, then you haven&amp;#146;t yet handled the iPod Nano: a tiny, flat, shiny wafer of powerful sound that Apple unveiled last week. Beware, however: to see one is to want one. If you hope to resist, lash your credit card to your wallet like Odysseus to the mast.&amp;#148; [Sep 15, 2005]</description>
<pubDate>Thu, 15 Sep 2005 00:00:00 PST</pubDate>
</item>
<item>
<title>Coldplay&amp;#146;s EP to Benefit Hurricane Katrina Victims</title>
<link>http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?s=143441&amp;playlistId=80407619</link>
<description>Coldplay, Capitol Records and Apple today released &amp;#147;Fix You,&amp;#148; a digital EP that includes two songs previously unreleased in the US &amp;#151; &amp;#147;Pour Me&amp;#148; and &amp;#147;The World Turned Upside Down&amp;#148; &amp;#151; in addition to two versions of &amp;#147;Fix You,&amp;#148; the band&amp;#146;s new single from the double platinum album &amp;#147;X&amp;amp;Y.&amp;#148; The EP is available exclusively on the iTunes Music Store in the US. [Sep 14, 2005]</description>
<pubDate>Wed, 14 Sep 2005 00:00:00 PST</pubDate>
</item>
<item>
<title>Depeche Mode Pre-Sale</title>
<link>http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPreorder?id=80044884&amp;s=143441</link>
<description>From September 13-26, Depeche Mode fans who visit the iTunes Music Store in the US and pre-order the band&amp;#146;s new album, &amp;#147;Playing the Angel,&amp;#148; will receive a password for the chance to purchase up to four tickets from ticketmaster.com, before tickets go on sale to the general public, for select dates on the band&amp;#146;s 2005 North American tour. [Sep 13, 2005]</description>
<pubDate>Tue, 13 Sep 2005 00:00:00 PST</pubDate>
</item>
<item>
<title>Apple Updates Xserve RAID</title>
<link>http://www.apple.com/xserve</link>
<description>Apple updated its Xserve RAID storage system, a 3U high-availability, rack storage system to deliver a massive 7 terabytes (TB) of storage capacity at the industry&amp;#146;s most aggressive price of just $1.86 per GB. Apple also upgraded its Xserve 1U rack optimized server with up to three 500GB drives, achieving a groundbreaking 1.5TB of storage. [Sep 13, 2005]</description>
<pubDate>Tue, 13 Sep 2005 00:00:00 PST</pubDate>
</item>
<item>
<title>iPod nano: &amp;#147;truly a marvel&amp;#148;</title>
<link>http://www.cbsnews.com/stories/2005/09/12/scitech/pcanswer/main834003.shtml</link>
<description>&amp;#147;From an engineering and design standpoint, the nano is truly a marvel, writes Larry Magid for CBS News. &amp;#147;Apple took advantage of advances in both memory and battery technology to build an incredibly small music player. They also threw in an easy-to-read color display that not only helps you navigate through your music but can also display album art as well as your personal photographs.&amp;#148; [Sep 12, 2005]</description>
<pubDate>Mon, 12 Sep 2005 00:00:00 PST</pubDate>
</item>
<item>
<title>iPod nano: &amp;#147;teensy and glossy and perfect&amp;#148;</title>
<link>http://www.time.com/time/magazine/article/0,9171,1103572-1,00.html</link>
<description>&amp;#147;The Nano is thinner than a pencil and lighter than two bucks in quarters,&amp;#148; reports Lev Grossman for TIME.com. &amp;#147;It&amp;#146;s one-fifth the size of the original iPod that Apple introduced four years ago. It has 4 GB of memory, enough to hold 1,000 songs, and it displays album art and photographs. And as small as it is, the Nano&amp;#146;s got some audio oomph: this mouse can roar. For a device ostensibly created to be listened to, it is suspiciously good-looking. It&amp;#146;s so teensy and glossy and perfect, you want to put it in your mouth like a hard candy.&amp;#148; [Sep 12, 2005]</description>
<pubDate>Mon, 12 Sep 2005 00:00:00 PST</pubDate>
</item>
<item>
<title>Review: iPod nano</title>
<link>http://www.freep.com/money/tech/mwendland12e_20050912.htm</link>
<description>&amp;#147;The iPod nano is the slickest of the already-slick iPod model lineup,&amp;#148; writes Mike Wendland for the Detroit Free Press. &amp;#147;The pictures don&amp;#146;t do it justice. You have to hold it in your hand. It is so slim &amp;#151; about the width of a No. 2 pencil &amp;#151; that the first reaction of everyone I have shown it to has been, &amp;#147;Whoa!&amp;#148; Or something very similar.&amp;#148; [Sep 12, 2005]</description>
<pubDate>Mon, 12 Sep 2005 00:00:00 PST</pubDate>
</item>
<item>
<title>Apple at IBC 2005</title>
<link>http://www.apple.com/uk/hotnews/articles/ibc/</link>
<description>Apple has a significant presence at IBC 2005, which takes place in Amsterdam, September 9-13. With over 45,000 square metres of exhibition space, more than 1,000 exhibitors and some 40,000 visitors, the International Broadcasting Convention (IBC) is Europe&amp;#146;s key annual trade show for media, video and broadcasting professionals. See the photo gallery. [Sep 12, 2005]</description>
<pubDate>Mon, 12 Sep 2005 00:00:00 PST</pubDate>
</item>
</channel>
</rss>

Ai carinha desculpa não poder ajudar muito, mas do trampo so posso ver os scripts pelo bloco de notas(fora precisar trabalhar hehe tongue.gif ) e fica muito embaralhado... talvez se você abri-lo num DW fique mais facil de entender....

Abraços

Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,1k
    • Posts
      651,8k
×
×
  • Criar Novo...