HTML - Ie-only Data Island News With Xml Help!
Ok here's the low-down - I'm trying to find a better way to post news items on a large intranet - currently we have to post the same news on twenty different servers, which drives me barmy.
The big issues are we can only get client-side access (no asp, php etc) although on the upside all the users are IE6 - so in a way some things like data islands become available. So I was thinking we could have a central xml file that we could update and each page would be set to show certain categories or something. first of all is this possible at all?! And if so - any help/pointers would be appreciated! You'll see below where I've got to - so it's displaying the first news item dynamically so I guess there's two questions - one hopefully fairly easy and the second for a resident-genius type: 1) How can I get it to display the 'first five records' rather than just the first one - I know you can fudge it with tables, but I'm trying to keep it as proper as possible and I know tables aren't really the best for this sort of thing. 2) Is there any way I can add 'markers' to the xml file that are checked - ie so the xml file could have items like: <item> <title> The title of this article</title> <markers> <political>Yes</political> <sport>No</sport> <technology>Yes</technology> </markers> <content>blah blah</content> </item> This'd then let me specify an article as both political and technology and thus on the political and technology pages it'd appear if it was one of the five most recent valid articles, but not on the sport pages. Any ideas?! Code below if it helps... Page: Code: <html> <head> </head> <body> <div> <div>All News</div> <ul> <li><span dataSrc="#news" dataFld="title"></span></li> <li>News 2</li> <li>News 3</li> <li>News 4</li> <li>News 5</li> </ul> </div> <div> <div>Retail News</div> <ul> <li>News 1</li> <li>News 2</li> <li>News 3</li> <li>News 4</li> <li>News 5</li> </ul> </div> <xml id="news" src="news.xml"></xml> </body> </html> XML file: Code: <?xml version="1.0"?> <news> <newsitem> <title>General News 1</title> <intro>intro for the general news</intro> <link>http://www.bbc.co.uk</link> </newsitem> <newsitem> <title>General News 2</title> <intro>intro for the general news</intro> <link>http://www.bbc.co.uk</link> </newsitem> <newsitem> <title>General News 3</title> <intro>intro for the general news</intro> <link>http://www.bbc.co.uk</link> </newsitem> <newsitem> <title>General News 4</title> <intro>intro for the general news</intro> <link>http://www.bbc.co.uk</link> </newsitem> <newsitem> <title>General News 5</title> <intro>intro for the general news</intro> <link>http://www.bbc.co.uk</link> </newsitem> <newsitem> <title>General News 6</title> <intro>intro for the general news</intro> <link>http://www.bbc.co.uk</link> </newsitem> <newsitem> <title>General News 7</title> <intro>intro for the general news</intro> <link>http://www.bbc.co.uk</link> </newsitem> </news> Similar Tutorialshow do i put HTML URL links in XML DATA ISLAND? from what i know you can only put text in XML data island. example Code: <data>Here is some data here</data> and in the tables... Code: <td width="200"><div xmldi="xmlDI" xmlnode="data"></div></font> but my clients wants to put html links in the <data> tag , how can it be done , eg Code: <data> <a href="music.html">Music here</a> </data> when he tried to do this , the whole page turns blank. please enlighten. thanks pros. Hi pros , please help me out. I did a xml data in the <body> section , where my client can edit the <body> section's description tags to edit the html files without going digging through all the codes hidden in the tables. It works in Mozilla Firefox, but this code appear to be Blank in Internet Explorer , please help. My code in the <head> section: HTML Code: <body> <xml id="xmlDI"> <description> <b>Photo Gallery</b> <br> <br> A collection of artistes' photos<br><br> </description> <description> <b>Video Gallery</b> <br> <br> A collection of artistes' videos<br><br> </description> </body> and the codes in the tables below. HTML Code: <tr> <td width="200"><font color="#e9e9e9"><div xmldi="xmlDI" xmlnode="description"></div></font><u><a href="photos.html"><font color="#e9e9e9">Click here to enter</font></a></u> </td> ANYONE? please help me out. tons of sleepless nights , but cant make it work. Hi, I am writing a html web page to retrieve the xml content into three tables using xml data island. There are 3 xml files: <xml id="file1" src="xxx.xml"></xml> <xml id="file2" src="yyy.xml"></xml> <xml id="file3" src="zzz.xml"></xml> In the html file, I would like to let the page refresh automatically and retrieve the xml contents because the xml file contents might keep changing all the time. I've tried to use meta refresh tag to do this. However, it seems that the xml content is cached and it displays the old content even if the xml file content is changed. How can I solve this? Hi there, I'm trying to use XML to pull the news for an IE-only intranet. In this line: <TD bgcolor="#FFFFFF"><a href="DATAFLD="url"><DIV DATAFLD="title"></DIV></a></TD> You'll see I'm trying to fill the HREF=" " tag with the url from the data fld - however it doesn't seem to work... Does anyone know what I'm doing wrong? <HTML> <HEAD> <TITLE>Data Island (XML DSO) Example 1: (Binding to Table HTML Element)</TITLE> </HEAD> <BODY> <XML ID="NewsWebSites"> <ROOT> <Site> <date>2nd Feb</date> <title>Message from Peter</title> <url>http://www.bbc.co.uk</url> </Site> <Site> <date>9th Feb</date> <title>Restructure announcement</title> <url>http://www.bbc.co.uk</url> </Site> </ROOT> </XML> <TABLE DATASRC="#NewsWebSites" BORDER="0" CELLPADDING="3" CELLSPACING="1" BGCOLOR="#EEEEEE"> <THEAD> <TD>Date</TD> <TD>Message</TD> </THEAD> <TR> <TD bgcolor="#FFFFFF"><DIV DATAFLD="date"></DIV></TD> <TD bgcolor="#FFFFFF"><a href="DATAFLD="url"><DIV DATAFLD="title"></DIV></a></TD> </TR> </TABLE> </BODY> </HTML> Hi peeps, I apologise if this is in the wrong section, if so, please move to appropriate category. I have a basic understanding of HTML coding and I am attempting to learn new skills and tricks to help me in my development. I am currently in the process of developing a new site for myself and on this site I will have a news page, which I update weekly with news from the industry. I was wondering what is the best way of going about new news articles (written by myself, not taken from external sources) and also how to automatically update the 'news' snippet on the homepage when I add a new news article? Any advice or pointers in the right direction would be greatly appreciated. Thanks Can somebody give me a code for close to the code on http://www.psp-hacks.com/ for news, and people leaving comments! Thanks in advance ps: my site is http://www1.webng.com/steer/index.htm and you see the background... I drew those two separator lines (they are not straight) is there any other way to do it? Here is the fresh background image a guy i know who runs a website had archieved news on his website without cutenews can someone please tell me the code for this...i cannot get my cutenews to work for some strange reason...thank alot everyone I want to set up a news section on my website from my forums. Like I have an announcement section that I wanted to link to. How do I do that. How would I get a scrolling news bar in my webpage? I am extremely new, so please post code. Thanks Sorry if this is the wrong place to post this. I want to be able to generate a RSS news feed from my website with latest news etc, but I really haven't a clue where to start. Would anyone of the experts on this forum be able to advise me of where to start and what is the best way to go about it? I hope you can help. Thanks Simon Hi there. I currently use a news feed widget from BlastCasta.com on a website for a leading gymnast, however i notice sometimes the news feed covers stories about someone with the same name (ie, they are not relevent to the gymnast at all!) Is there any way at all of using something else/something better? I am completely ignorant when it comes to News feeds/widgets and how to implement them. Any advice would be fantastic. See the current news feed page at http://www.bethtweddle.com/news.html I am in the process of building a site and want to include a News section. However do most website do this manually or use sites like joomla, drupal, and such to do this? I would like something similar to HighTimes.com content articles with tags that connect everything together. Can someone please tell me how this is done? Thank you. Can someone help me create a scrolling news ticker in HTML code? I want to put rss feed into this scrolling ticker from an rss feed like yahoo news etc. It would be greatly appreciated if someone can help or give me the code. Ill be glad to put your name in the code. THanks. Hi! I am currently studying a Comp Sci degree in college. I want to create a few webpages and cut my teeth. I know basic html but would like to do something more advanced. I want to add a widget or script of sorts to a webpage to allow news updates, adding pictures and text basically. I am not really sure what I am looking for and would just like to know what terms or terminology to search for. Would this come under the heading of Javascript, php, perl, widgets? Any help is appreciated. hi this is gafadi and i am new i am creating a news html website .. i need some help .. i need to know how organize my site .. how to save the news that i publish everyday .suppose i publish news today and after 1 year people go to the search option and easily find that news .. thanks Hi all, Just signed up. I dabble occasionally with coding and would appreciate your help on a slight problem. I'm thinking of putting in a scrolling ticker with links to files on site so this is what I've put in (link removed): <marquee behavior="scroll" direction="left" bgcolor="#192025" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="4"><a href="link">Text</a></marquee> This is where my problem starts. The text is by default set to be black, therefore I can't see the text as the background colour is a shade of black. How do I change the text colour to white for this one bit? That's the first problem, I then tried to manually change it by adding some codes like this, which is messy: <marquee behavior="scroll" direction="left" bgcolor="#192025" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="4"><a href="link"><font size="3" face="Yanone Kaffeesatz" color="white"> Text</a></font> </marquee> It is now white text but the problem is that it appears in Times New Roman I think. I then tried deleting the face=Yanone Kaffeesatz strand but it does not work. Thing is, with the first <marquee> example in my post, it defaults to the Yanone Kaffeesatz font with no mention of it (as that is what I use on my site), but it's in black. When I add the other string in the second example I get it in white but not in the font I want. Any help would be much appreciated. Hi: I want to place a large block of scrollable text (i.e., a news letter for my clients to view) on a page. The 'text' for this news letter 'page' will be taken from a database and will be planted in this scrollable block, and will have a text title and an author and a 'last edit date'. Any first thoughts on how to set up the basic markup for this scrollable block of text please ?? Thank you ! -Mel Smith Mesa, Arizona Hi there, Can anybody tell me where to get google news urls to put on my site?? Like the ones on this site. http://www.newvolleyball.com/news.php Any help will be appreciated. Thanks Kris Is there a plugin or anything that would allow me to setup specific sections of a website where certain users can update with news? I hope I'm being clear, but this is what I want to do: There's a news section of my page, and currently I'm working with people who don't know a lick of HTML. They want to be able to add news articles without having to go through me. Is there a service or plugin or anything that will allow this to happen? Thanks in advance for any help! Ok so Im not sure what exactly what its called but I was wondering where I could get the code that would allow me to make my own news marque/feed/slideshow..thing An example of what Im talking about can be found on the yahoo.com main page...right in the middle of the page where it says TODAY How would I go about making one of those that I can put my own news articles in? Does is there an html gen for this? Thanks! |