Need to import html stylesheet
I need to print the html data, thus import the html stylesheet which is the xsl file.
Does anyone know where should I put this stylesheet i.e., the path in ebusiness suite and import the same in my template.
Right now for testing purposes I have put the xsl file in my local directory.
Thanks,
-Ritu
can you see what I'm doing wrong?
http://174.127.110.49/~bluewat2/test/test.php
the script's not showing any code or results.
Here's what's in the php file:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
$string = file_get_contents("http://www.cbsa-asfc.gc.ca/bwt-taf/bwt-eng.csv");
$strings = explode("\n", $string);
foreach ($strings as $line) {
if (substr($line,0,17) == "Blue Water Bridge") {
$subline = explode(";",$line);
echo $subline[0] . ":";
echo " Canada bound: " . $subline[6] . "<br>";
echo " USA bound: " . $subline[10] . "<br>";
echo " last updated: " . date("h:ia d F, Y",strtotime($subline[4]));
?>
<?php
$string = file_get_contents("http://www.cbsa-asfc.gc.ca/bwt-taf/bwt-eng.csv");
exit($string);
/* $strings = explode("\n", $string);
foreach ($strings as $line) {
if (substr($line,0,12) == "North Portal") {
$subline = explode(";",$line);
echo $subline[0] . ":";
echo " eastbound: " . $subline[6] . "<br>";
echo " westbound: " . $subline[10] . "<br>";
echo " last updated: " . date("h:ia d F, Y",strtotime($subline[4]));
?>
</body>
</html>
Similar Messages
-
Noob Needs Help - Importing Html Pages into "My Site"
Greetings
I am sure this is a noob question that may have been asked, but I couldn't find it by searching so here goes.
I jumped right into Dream Weaver, following an online tutorial... and have a decent webpage but I must have skipped some steps or missed something and I would hate to backtrack and do it all over again...
When I began, I just started working on a HTML page... and now that its done, I want to make it a template etc...
But I never created a "site" as far as SITE > NEW SITE etc.
So now that I have, I need to tell DW that "These pages are included... these images are included, all that neat SPRY stuff I have done needs to be "in the site".
I am looking for a button that says, "Hey dummy, you need to select the pages that are included in your site" but can't find it...
Any help?
Thanks, in Advance
Greg
www.revfan.comCreating your first web site in DW CS5 -
http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Imported DocBook stylesheet location for XSQL Page
Hi all,
I've got the following XSQL page which queries a DocBook document stored in XMLDB as a schema-based CLOB.
<?xml version = '1.0' encoding = 'UTF-8'?>
<!--
| Uncomment the following processing instruction and replace
| the stylesheet name to transform output of your XSQL Page using XSLT
<?xml-stylesheet type="text/xsl" href="YourStylesheet.xsl" ?>
-->
<page xmlns:xsql="urn:oracle-xsql" connection="jdbc/DBConnection1DS">
<xsql:query max-rows="1" null-indicator="yes" tag-case="lower">
SELECT extractValue(x.DOCBOOKS_DOC, '/book/part/title', 'xmlns="http://docbook.org/ns/docbook"') "BOOK_TITLE",
extract(x.DOCBOOKS_DOC, '/book/part/chapter/sect1/sect2', 'xmlns="http://docbook.org/ns/docbook"').getStringVal() "BOOK_CONTENT"
FROM DOCBOOKS_STORE x</xsql:query>
</page>
Which outputs the following:
<!--
| Uncomment the following processing instruction and replace
| the stylesheet name to transform output of your XSQL Page using XSLT
<?xml-stylesheet type="text/xsl" href="YourStylesheet.xsl" ?>
-->
<page>
<rowset>
<row num="1">
<book_title>
This is a test string
</book_title>
<book_content>
<sect2 xmlns="http://docbook.org/ns/docbook"><title>
This is sect2/title test text.
</title><para>
This is sect2/para test text.
</para></sect2>
</book_content>
</row>
</rowset>
</page>
The query runs fine (thanks to help from the XML DB forum). I'm now trying to use the docbook.xsl HTML stylesheet but I'm not sure of the following:
1) Where do imported stylesheets need to be stored for the XLST processor to find them and can we change the default location (DocBooks has loads of associated stylesheet includes)? I've tried several locations and corresponding hrefs but nothing seems to work.
2) Since the output contains a mixture of both DocBook and non-DocBook tags, I'm guessing/hoping that the XLST processor can parse the string extract and all what I would need to do is use is the <xsl:import/> and <xsl:apply-import/>. Is this correct?
Many thanks in advance.
George.Just closing the loop on this one...
1) After more trial and error, I found that the XLST stylesheet need to be in the same location as the *.xsql page. To check, I wrote a simple XLST to output HTML rather than confuse the issue with applying the docbook imported stylesheets. This worked as expected with the resulting HTML output, bar the fact that I now have a security issue with my stylesheet sitting in the /PUBLIC_HTML folder. For the moment this is OK since the application is for internal prototyping purposes.
2) If I want the XLST processor to parse the underlying XML tags, then the data needs to be returned as XMLType and not a VARCHAR2 string which my <xsl:query extract().getStringVal())> does.
Unfortunately I now have an enviromental problem retrieving XMLType data through my XSQL query. I believe this has something to do with my JDBC driver and/or missing libraries.
Cheers -
Topic title overwritten with file name when importing html-file
I have a problem in RH8. When I import a html-file that has a topic title that is different to the file name, RH somehow overwrites the topic title with the file name. The html-files that I need to import into my help project DO have a topic title (with the html tag 'Title') so this is not caused by an empty og non-existing title tag.
I have searched the forum and found that this was also an issue in RoboHelp 6 and by then fixed in a service pack. I have long ago installed the two service packs to RH8, but I can see in the 'read me' for the service packs, that this has not been dealed with.
I also have RH 7 installed on my pc, and the problem does not occur in a RH 7 help project.
Best RegardsYes, I am sure I am not mixing up Topic Title and Topic Heading.
The files are generated in a Access database created by our own developers. We have used this database for generating html-files for our RH-projects for years without any problems.
Below I have copied the HTML code from one of theese files (with the file name '10001.htm') before importing it into RH8:
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>
Agreement
</title>
<LINK rel='StyleSheet' href='default.css'>
</head>
<body>
<h1>
Agreement
</h1><p>
An agreement is a written obligation between a project and a contracting party regarding the
participation in the project, delivery to the project, or transfer of the project's products
and services. Please see Vejledning: Aftaler og aftaleparter.
</p>
</body>
</html>
And after importing it to RH8:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Adobe RoboHelp 8" />
<title>10001</title>
<link rel="StyleSheet" href="default.css" type="text/css" />
</head>
<body>
<h1>Agreement</h1>
<p>An agreement is a written obligation between a project and a contracting
party regarding the participation in the project, delivery to the project,
or transfer of the project's products and services. Please see Vejledning:
Aftaler og aftaleparter.</p>
</body>
</html> -
Need to import .swf into Flash 8 project
I'm working on a project that requires me to use an already
made .swf file in it. I'm creating the whole project (which is a
presentation) strictly in Flash 8. This project requires a user to
be able to navigate through various menus and categories to see
what's in them. Most of the categories have a slide-show of images
that are accompanied by a voice over sound track that explains to
them what they're watching; however, for other categories I already
have a previously created .swf file that I need to import into
Flash 8. The issue that I've noticed when I just import the .swf
file into Flash is that the file plays at about 100x the original
speed. I think that it is because Flash looks at this file as one
frame and tried to play everything all at once. I also looked into
the possibility of trying to the loadMovie() function, but that is
not that convenient for me because this requires me to decompile
the .swf file into .fla and edit it so that a user has a way of
coming back to the main menu of the presentation from that movie,
unless there is a function parameter of loadMovie() similar to
HTML's "_blank" where a new window opens so that the user can close
this window without having to worry about restarting the
presentation. I hope that what I'm doing is clear, and I'm very
much open to any suggestions about what I should do about it or any
other ways of doing what I'm trying to achieve, which is to be able
to play already-made .swf files in my Flash project. To give more
details on these .swf files, they were originally created in Adobe
Captivate and exported into .swf. They play perfectly when you play
them, but it's just that there is an issue when I try to play them
from my Flash project. Thank you in advance for your help.Hi Braulio
a good tutorial site can be found at
http://www.kirupa.com
and also, look in your Flash Docs, for loadClip() and
loavMovie() methods. They should get you started on some ideas to
import external content. -
Need to import VIDEO_TS into iMovie and I cant do it.
I have several discs with clips on them that I need to import into iMovie to edit all together, I can not seem to do it. On one disc for example is a Video_ts folder and in the file are .bup .ifo .vob I dont know if these are the clips, if so how do I get iMovie to recongnize them? Please Help!
jThis sounds like videos that are actually DVD videos.
It's possible that they were copied from a DVD onto another disk, but the layout you describe is a DVD format.
You need a program that can convert these into QuickTime format.
I have used a program called DVDxDV to convert DVD videos that I made back into QuickTime format.
This program, will automatically extract the audio and video into clips that are sized and formatted for importing into iMovie.
iMovie not only has a file size limit, but also time duration (length) that each file must be under.
So, it needs to be the right file format, right length of time (shorted than 8 minutes), and less than 2 GB in size.
This program automatically does all that for you. If the video segment is longer than the requirements, then it creates multiple files that you can drag and drop into iMovie.
It is available in a trial version for you to experiment with.
Once you find that it does what you want, they offer a variety of packages that you can purchase. I went with the $25 level, and that worked fine for me.
http://www.dvdxdv.com/products.html
Hope this helps. -
Hi, Can anyone recommended software to import dvd to iMovies. I need to import about a dozen homemade DVD's and edit them into a single DVD comprising the 'best bits'. How best can I do this. I have an external hard drive available for the job
You need to convert the VOB files in the TS-Folder of the DVD back to DV which iMovie is designed to handle. For that you need mpegStreamclip:
http://www.squared5.com/svideo/mpeg-streamclip-mac.html
which is free, but you must also have the Apple mpeg2 plugin :
http://store.apple.com/us/product/D2187Z/A/quicktime-mpeg-2-playback-component-f or-mac-os-x
(unless you are running Lion in which case see below))
which is a mere $20.
Another possibility is to use DVDxDV:
http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.overview.htm
which costs $25.
For the benefit of others who may read this thread:
Obviously the foregoing only applies to DVDs you have made yourself, or other home-made DVDs that have been given to you. It will NOT work on copy-protected commercial DVDs, which in any case would be illegal.
And from the TOU of these forums:
Keep within the Law
No material may be submitted that is intended to promote or commit an illegal act.
Do not submit software or descriptions of processes that break or otherwise ‘work around’ digital rights management software or hardware. This includes conversations about ‘ripping’ DVDs or working around FairPlay software used on the iTunes Store.
If you are running Lion or later:
From the MPEG Streamclip homepage
The installer of the MPEG-2 Playback Component may refuse to install the component in Lion. Apple states the component is unnecessary in Lion onwards, however MPEG Streamclip still needs it. See this:
http://support.apple.com/kb/HT3381
To install the component in Lion, please download MPEG Streamclip 1.9.3b7 beta above; inside the disk image you will find the Utility MPEG2 Component Lion: use it to install the MPEG-2 Playback Component in Lion. The original installer's disk image (QuickTimeMPEG2.dmg) is required.
The current versions of MPEG Streamclip cannot take advantage of the built-in MPEG-2 functionality of Lion. For MPEG-2 files you still need to install the QuickTime MPEG-2 Playback Component, which is not preinstalled in Lion. (The same applies to Mountain Lion even though that has it preinstalled.) You don't have to install QuickTime 7. -
Can I import html files into Buzzword?
Can I import html files into Buzzword?
Thank you for your post.
Buzzword lets you import Microsoft Word (DOC, DOCX), plain text (TXT), Rich Text Format (RTF), Word 2003 XML, and Open Document Format (.odt) files. (Font substitution and other formatting changes sometimes occur on import, depending on the content of the document.) You'll need to convert your HTML file to one of the supported file types before importing to Buzzword.
Kind Regards,
Michelle -
Limited Access to MiniDV camcorder, need to import best
I've had many versions of Photoshop Elements, but have just purchased Adobe Premiere Elements 10 (have never used any Premiere/Premiere Elements software).
I have about 50 miniDV tapes, but no camcorder. Recently, I talked an acquaintance into lending me their camcorder which will play these tapes, which really took some talking, as I'm not a friend, just an acquaintance.
I ordered and *just* received a Canopus/Grass Valley Bidirectional Analog/Digital Video Conversion ADVC110. I intend to convert the tapes to DVD's, but with some editing, removing some scenes, etc.
I had intended to read forum postings, view the tutorials, experiment, etc. BUT, now the person want their camcorder back after this weekend, so I need to import all the tapes this weekend. So, with no time to learn anything, what's the best way I can import the tapes into a format that I can play with/experiment with later? Like I said, I had intended to import various ways, experimenting until I found what works best. But now I need a "huge, uncompressed" file, or whatever, not even sure what I need.
I wasn't expecting them to want their camcorder back anytime soon, so got kind of blindsided (long story). When I was looking at ebay before, camcorders like this were either too expensive, or you were taking chances as to whether they worked or not.
I know the usual answer would be to "read the manual", view tutorials, etc, but I'm going to be hard pressed just to import the tapes. Even though it's a US Holiday weekend, I have to work it.
Any tips would be appreciated, thanks.
RedDogYou don't say... IF you run Windows 7 you need to do this...
Legacy Driver and Capture http://forums.adobe.com/thread/869277
- And a Picture http://forums.adobe.com/thread/727755
IF you have problems figuring out how to use PreEl there are a couple other programs that are single purpose, so MAYBE easier to use... I think they are free, but I don't use them so not 100% sure
I have NOT used either, but many say to try these for SD capture http://windv.mourek.cz/ or http://www.exsate.com/products/dvcapture/
Be aware that DV AVI is "about" 13 Gig per hour, so you need LOTS of space on your 2nd, dedicated data drive... if you don't have a dedicated data drive, you NEED one
My 3 hard drives are configured as... (I built a computer for Win7... you need at least 2 hard drives... a BIG one for your data files)
1 - 320Gig Boot for Win7 64bit Pro and ALL program installs (2)
2 - 320Gig data for Win7 paging swap file and video project files
3 - 1Terabyte data for all video files... input & output files (1)
(1) for faster input/output with 4 drives
- use drive 3 for all source files
- use drive 4 for all output files
(2) only 60Gig used, for Win7 & CS5 MC & MS Office & other smaller programs
Search Microsoft to find out how to redirect your Windows paging swap file
http://search.microsoft.com/search.aspx?mkt=en-US&setlang=en-US
And... some other reading
Steve's Basic Training Tutorials http://forums.adobe.com/thread/537685
FAQ http://forums.adobe.com/community/premiere_elements/premiere_elements_faq
TIPS http://forums.adobe.com/community/premiere_elements/premiere_elements_tips
http://www.amazon.com/Muvipix-com-Guide-Premiere-Elements-Version/dp/1466286377/
User Guide PDF http://help.adobe.com/en_US/premiereelements/using/index.html
Right click the PDF link in the upper right corner and select to save to your hard drive -
I have saved My Google Chrome bookmarks as HTML and want to import them into my mozilla bookmarks, when I go to import HTML it seems to load something but when I go back to check my bookmarks in mozilla they are not there. I would like to use mozilla more often then Chrome so I need please help keeping my Chrome bookmarks.
@Carolyn:
Yes, I did search before but restricted it to the past month, because I had the feeling that it’s worse now since the update to 5.1.10, but I may be wrong.
It seems this is an old and unsolved common problem.
@andy:
“Top Sites” is hot, but I’ve never used that funny dots without any mouse-over text.
After deleting (before starting Safari) it’s restored by a default TopSites.plist, it seems these cookies
- are only reloaded when viewing the Top Sites (?)
- are not among my reappearing cookies, I have never seen such a cookie / cache on my system before (e.g. expedia, orbitz, monster, usatoday, disney, craigslist).
And Top Sites would not explain why the Web Inspector has different infos regarding use of cookies and local storage than Safari’s “Privacy” tab.
After playing with deleting TopSites.plist, without surfing, suddenly I have ”121 cookies or other data” at Safari’s Privacy tab, nearly all are listed as “Cache” or “Cache, Cookies” but the Web Inspector doesn’t show any of them, only my google.co.uk items.
---> Thanks, I’ll send a feedback to Apple. -
Want movie to auto play -- do I need to import it twice?
I made a 58-minute video in iMovie HD with iDVD chapters, then I clicked the button to send the movie to iDVD 5. The movie imported great into iDVD and was to take 3.9GB of a 4.0GB DVD. However, when I clicked the "map," I noticed the first slide was to auto play the movie. GREAT, I thought, that's what I want, as this DVD is for a bunch of seniors who would benefit from auto play, but then also being able to select a certain scene that they wanted to go back to (it is a video of a speaker on medicare with a corresponding printed outline).
When I selected the movie from my movies folder and drug it to that first slide in the map field, which was auto play, I noticed that then the size of my project went from 3.9GB to 7.8GB. It would all fit on a DVD-R, but the quality would be reduced because with all that data, iDVD would need to compress more. I don't really need to import the movie twice, do I, if I want auto play AND chapter selection?
My question is, is there a way to use the same movie in iDVD to auto play AND to be able to select the scenes/chapters I inicated? I tried to drag and drop the movie in the map view on the third slide to the first slide, but it would not allow me to move it, or set up an alias pointing to the original movie.
I suppose I can delete the third slide movie that iMovie auto imported and then just import the movie manually to auto play area, but then I don't know if that will erase allow for the use of chapters. Does anyone know about this?
Please help if you can. Thanks.I think I may answer my own question here. According to this page http://docs.info.apple.com/article.html?artnum=164968, it says "iDVD doesn't create scene menus for autoplay movies." So if I want a movie to auto play AND have scene menus using the chapter markers, I will need to import the movie twice and just live with lower quality. If anyone else has any input, I'd love to hear it, but I really need to keep the scene menus in my movie AND would like auto play. For now, I think I will just pass on the auto play, as I need scene menus more than auto play.
Home: 20 iMac G5 2.0GHz rev.B/2GB/400GB hard drive Mac OS X (10.4.3) Work: 20 iMac G5 2.0GHz rev.B/1GB/300GB hard drive -
I Need Help Importing my Contacts Onto my New (old) Palm phone.
I need to import my contacts onto my Palm Centro. As of now, they are in a .csv file. When I select import from the Palm Desktop file menu and browse for my contact file, it shows the file grayed out. Even if I instruct the program to allow all file types, it doesn't work. I've read that the Centro needs a .aba file- but I can't find a converter that works.
I'm on a Mac but it has OSX and Windows 7, so I can use any program/service that you guys can suggest. Even if you don't know a program that can do what I need, I also want to know definitively what file format my Palm Centro wants these contacts.
I know this is an old phone, but there must be a way to do this (and avoid typing in 400+ contacts).
Thanks very much in advance!
Post relates to: Centro (Sprint)Have you tried this program?
http://www.schaik.com/download/palmaba.html
WyreNut
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked! -
Need to import bookmarks from json
Need to import my bookmarks from a different json file. When I try to import it says that it will overwright my current bookmarks. Don't want to do that, only add it it. Is that possible?
Thanks! I may try and see if I can still access that old computer and do an export as html then. If not, I'll do your above description. Thanks!
-
HELP!!Need to import and print vector drawings
I am trying this topic again in the hope of help. I need to
import drawings in a vector format for printing. These drawings
will be cast members not sprites. I have tried printing a swf
version via Printomatic but it cannot print Flash members. My
questions are:
1. Is therre any way to print a swf cast member (not a
sprite)
2. How can I import an EPS file? - I have heard that it can
be done but every version I have tried seems to failDarrel Plant has written an importer for .ai and .eps files.
You can get
it at:
http://www.moshplant.com/direct-or/ps2vs/
Haven't used it for a while but it works pretty good.
Downside is that it creates multiple members because Director
can't
(couldn't?) handle multiple-line vector members.
Dsotm wrote:
> I am trying this topic again in the hope of help. I need
to import drawings in
> a vector format for printing. These drawings will be
cast members not sprites.
> I have tried printing a swf version via Printomatic but
it cannot print Flash
> members. My questions are:
> 1. Is therre any way to print a swf cast member (not a
sprite)
> 2. How can I import an EPS file? - I have heard that it
can be done but every
> version I have tried seems to fail
>
Manno Bult
[email protected] -
My PC hard drive died and I have replaced it. Need to import the music on my classic iPod, but get a message that it's synced with another library (old hard drive). How do I import the music onto the new hard drive? Senuti (one respondent's suggestion) is just for macs. I have no old hard drive to copy to the new hard drive (another respondent's suggestion.)
See this older thread from another forum member Zevoneer on different ways to copy music from your iPod back to your PC.
https://discussions.apple.com/thread/2417169?start=0&tstart=0
B-rock
Maybe you are looking for
-
My firefox startup now shows istartsurf.com when I sign on - no sign of firefox anymore. In addition I can no longer get access to my webmail account which is tiscali through talk talk, all my othere functions are as normal, except the default search
-
HP Pavilion dv2700 Windows Vista 32-bit speakers and microphone
Hi, I would like to seek expert opinion on the following two issues: 1. I am having this issue with audio playback on my notebook PC. I see that when I play any audio file from the Internet or even the sample audio clips on Windows, the audio is outp
-
How do i stop getting emails sent from apple community, any help please
Hi, how do i stop the emails from Apple support community any help please!!!
-
Dump ,when i am assigning operation to multiple resource in service order
405 CLEAR <fs_***>-assignment_key. 406 407 CALL METHOD lref_mnt_res->assignment_maintain_ext 408 EXPORTING 409 iv_operation = gc_operation-insert 410
-
Why won't AirPort Utility find my new Airport Extreme Base Station?
I bought a reconditioned 5th Generation Airport Extreme. I'm running it with a MacBook Pro, running Lion OS. I have version 6.0 (600.92) of AirPort Utility. The firmware in the AirPort Extreme was version 7.0 and it updated to 7.1. Then I couldn'