- From: Helder Magalhães <helder.magalhaes@gmail.com>
- Date: Mon, 23 Jun 2008 15:32:39 +0100
- To: Vidiot <brown@mrvideo.vidiot.com>
- Cc: "Amaya mail list" <www-amaya@w3.org>
> I'm a newbie, so please take pity regarding the following query. Nope, I'm about to read this [1] [2] as if you were an Amaya guru. ;-D > As a side note, I tried to install: > rpm -Uvh amaya_wx-10.1-pre-1.i386.rpm > error: Failed dependencies: > libexpat.so.1 is needed by amaya_wx-10.1-1.i386 Although maybe not too serious for the main questions, missing that library may render your installation useless as "expat" is a (HTML/XHTML/XML) parser... But I leave this question to more experienced users, as I don't know enough about Amaya's implementation - will it try using other possibly available parsers such as "libxml"?. Maybe someone else can comment on this... > The problem is the following: > 09:29:40 PM: Error: Impossible to get permissions for file '/styles/tvshows.css' (error 2: No such file or directory) > 09:29:40 PM: Error: can't open file '/home/brown/.amaya/0/tvshowscRTI2m' (error 2: No such file or directory) > 09:29:40 PM: Error: Can't load image from file '/images/icons/favicon.ico': file does not exist. > 09:29:40 PM: Error: can't open file '/images/WTC_RibbonSm.gif' (error 2: No such file or directory) > 09:29:40 PM: Error: can't open file '/images/flag.gif' (error 2: No such file or directory) > 09:29:40 PM: Error: can't open file '/images/WTC_RibbonSm.gif' (error 2: No such file or directory) > 09:29:40 PM: Error: can't open file '/images/Blu-ray_Disc_29x12.png' (error 2: No such file or directory) This seems to be a general (unrelated to Amaya) question. ;-) When using URLs like "/SomePath/SomeFile.ext" this will be interpreted differently: * The webserver will know that this is the "SomeFile.ext" inside "SomePath" folder within your _domain_. So, something like "http://www.YourDomain.com/SomePath/SomeFile.ext" will probably work... * When using local files, it will map to "SomeFile.ext" inside "SomePath" folder located in the _root_ file system! > How does one tell Amaya what the base path should be in order to find these > items? How is that going to work with relative paths, i.e., one goes into > a subdirectory and the HTML document finds, for example, images in a directory > called "images," without a slash in front of it? Just remove the trailing slash from your URL(s). For your sample, instead of '/styles/tvshows.css' simply using './styles/tvshows.css' (I personally prefer this notation) or 'styles/tvshows.css' will work (if files are really there and relative to the referring file as you've stated). > How does one set the colors of the displayed text in the source area? The > colors that are there make the text extremely difficult to read, since it is > light colors on a white background. The color preference page has nothing > regarding the colors for elements, etc. Yes, I somehow agree on this one. Maybe text highlight could/should be configurable (used colors or even allowing the feature to be disabled for improved contrast). > Lastly is a philosophical question regarding the deprecation of <FONT>. > I make constant use of that element, as it is easier than trying to figure out > how to do it with stylesheets: > I love the FONT element, I hate to see it go. Well, it seems your fear has come true - FONT is deprecated [3], meaning it should _not_ be used anymore. Please consider improving your skills on CSS [4] - trust me, your life will become much easier after you've mastered just a bit of it! ;-) Hope this helps, Helder Magalhães [1] http://catb.org/~esr/faqs/smart-questions.html#bespecific [2] http://catb.org/~esr/faqs/smart-questions.html#id306968 [3] http://www.w3.org/TR/html401/present/graphics.html#h-15.2.2 [4] http://www.w3schools.com/css/
Received on Monday, 23 June 2008 14:33:16 UTC