Importing a dataset on a external webpage into mySQL

So far, I imported only csv files , is this possible?

It's not impossible, but neither is it particularly easy. You would need to retrieve the web page's contents using file_get_contents(), and then use PHP string functions with regular expressions to extract the data and build a SQL query.
It's a lot easier if you can get an XML feed of the data. You can then use SimpleXML to extract the data and insert it into your database.

Similar Messages

  • Loading an external webpage into the Flex app

    Is there a way to load an external webpage into a Flex application. I only need to show a portion of the webpage not the entire page. For ex: Take the http://www.cnn.com main page. I only want to show the latest news column containing the bullted list of the news and not the entire page.
    Thanks in advance.

    You could use Flex I Frame component. Here is the link
    http://code.google.com/p/flex-iframe/

  • Adding external webpage into my existing page

    Hello there
    I want to add an external webpage into an exisiting page on my website.  Can anyone help with this issue.
    thanks Rob

    Snak
    That is exactly what I needed ..thanks for the quick reply and your help on this.  Have a great day ..Rob

  • Importing Arabic languages from an external document into Flash

    Hi all. I'm working on a project that requires me to display
    an Arabic font next to an English translation. I'm having trouble
    getting the fonts to import and display correctly in Flash. I was
    wondering if anyone had any experience with this, or ideas and
    suggestions. I'd appreciate any help you guys can give me.
    Thanks!

    You might find more accurate help here: http://forums.adobe.com/community/indesign (InDesign Forum)
    Copying and pasting is not usually a good idea. Try using the "place" command to place your external files or documents into InDesign. Nevertheless, you should be able to copy text from Word or other programs with no problem. How are you doing it exactly? Try to do it not only with keyboard shortcuts, but using the actual "copy" and "paste" menus on both programs.

  • HELP! Import iPhoto 4 pics from external drive into iPhoto 5

    I had computer issues so cleared my hard drive which was with iPhoto 4
    Moved the entire iPhoto Library to my external.
    When they updated my software they used the 5 version.
    Now I am having issues getting iPhoto 5 to recognize my data.
    I have tried various way indicated... but each one presents with a different problem.
    * If I pull them directly from the External drive to the Photo finder window - then when I open iPhoto i get the spinning wheel for HOURS (quit after 12).
    * If I drag them directly to Iphoto (either the entire folder OR year by year)
    They do show up in iPhoto, however, in iPhoto ALL dates are the date I pulled the iPhoto Library onto my External drive. Also, when in iPhoto there are film roles, however, the events are mixed up.
    I have tried this about 10 times, all different ways, my latest is now it imports them in DUPLICATE (and I had deleted teh thumb files prior to import)
    My question:
    How do I pull my iPhoto 4 library into iPhoto 5 and KEEP proper fiilm roles to include 1) Correct pictures in each 2) correct dates and 3) preserve the role titles 4) not duplicated
    HELP!!!
    THANKS!

    Here are some instructions from Apple in iPhoto Help that explain how to switch from your normal iphoto library (on your internal drive) to your older iphoto library (on your external drive:
    "You can switch from the photo library you're currently working on to another one you've already created.
    1.Quit iPhoto.
    2.Rename your current iPhoto Library folder in the Finder or move it to a new location on your hard disk, and then open iPhoto.
    3. Tip: If you don't want to rename or move your current iPhoto Library folder, hold down the Option key while opening iPhoto.
    4. Click Find Library.
    5. Choose the library you want to display.
    6. Click Open.
    The library appears in the iPhoto viewing area."
    If you succeed in doing this, you can thus direct your iphoto 5 program to open the iphoto 4 library on your external. If this succeeds, iphoto 5 will automatically convert that library to iphoto 5. Then you can burn your external drive iphoto 5 library to CD or DVD using the "burn" function from within iphoto. It is best if you can fit everything on one CD or DVD, but if not, you can burn by album, or by roll, or even by date. Make sure you burn this disk (or these disks) from within iphoto 5. Then, following the above instructions again, revert back to your internal drive iphoto 5 library. Then, while iphoto is running, insert those CDs/DVDs you burned from within iphoto earlier and when you do, each will appear inside iphoto along with your other albums. Each CD or DVD, as you insert it, will look like another album. You can then import those into your existing internal drive library. Unless you hhave many thousands of photos, this should not take a long time.
    By the way, if ALL your photos are in that external drive iphoto library, you can first quit iphoto and then you can drag it over and replace your internal drive iPhoto Library with the external drive iPhoto Library. Then iPhoto 5 will convert the older library automatically when it starts up.
    Before doing any of these things, I suggest backing up all your photos to something safe as if there is some corruption in your original library, it could get mangled in a way that makes it unusable and then you'll need that backup.
    I have actually done what I have descriibed above. We have an older iMac G3 with iPhoto 4. We got my daughter a new iMac G5 which came with iPhoto 5. I copied over her iPhoto Library from the iMac G3 which had been running iPhoto 4, and when she started iPhoto 5 for the first time on the new iMac, it converted everything in the old iPhoto Library (created under iPhoto 4) to iPhoto 5.
    You would only need the CDs/DVDs if you have two libraries you want to merge, one being an iPhoto 4 Library, and the other being an iPhoto 5 Library.
    There is a guy named "Old Toad" who sometimes comments in this forum. He probably has a better way of doing this.

  • How can I import file of photos from external drive into photoshop elements 11 organizer?

    I just started with elements 11 after many years of El., 10. How can I import files from external disk to elements 11 organizer? My files were stored on the external drive.

    Hi,
    The Canon S100 wasn't supported until version 6.6 of camera raw and that isn't supported by pse 8.
    You options are to either upgrade to pse version 10 or use the DNG converter
    for windows http://www.adobe.com/support/downloads/detail.jsp?ftpID=5310
    or
    for mac http://www.adobe.com/support/downloads/detail.jsp?ftpID=5309
    Brian

  • ITunes 11 won't import .mov video files from external hard drive but will from internal.

    Hi Everyone
    I'm having a problem with iTunes 11.0.1. I can't import .mov video files stored on an external hard drive. I can however import .m4v files from the same external drive. Using either the add to library option or dragging files from the finder.
    I can add .mov files from the internal though. Strange I know.
    The reason behind this posting is that I'm using iFlicks to convert my TV and movies from my external drive for Apple TV and add all relevent meta data, keeping the files on the external drive and having iTunes link to them.
    I would like to be able to simply create a general iTune compatiable file using iFlicks which only takes a minute or two per file to convert. I'm currently converting them to .m4v just for the sack of being able to import them into iTunes from an external drive takes 45 minutes per file.
    Has anybody else had this problem? Any ideas on a fix to allow me to import .mov files from an external drive into iTunes without copying it to the iTune library file.
    Many Thanks
    Dave

    This might be worth a shot - basically seeing if Vista permissions could be the culprit.
    Give yourself FULL control and ownership of the exHD, let's call it M:
    How to Take Ownership and Grant Permissions in Windows Vista
    Take control of the top level folder and ALL subfolders.
    Try creating a new blank ITL file on M: by pressing *and holding* the shift key while itunes starts. See if you can add everything again.

  • XML into Mysql Database

    Hi,
    I recently purchased The Dreamweaver developer toolbox, and I thought there was a behavior to import an XML file into a database (because dreamweaver bought interakt software http://www.interaktonline.com/Products/Dreamweaver-Extensions/XMLImport-Export/Statement/ )
    But now I see it isn't possible anymore.
    Is there someone who can help me to find a decent extention (php/mysql) to import an external xml into mysql database?
    Kind Regards,
    Bertel

    Not DW extensions, but plenty of classes to do it at...
    http://www.google.com/custom?domains=www.phpclasses.org&q=XML+import&sa=Search&sitesearch= www.phpclasses.org&client=pub-2951707118576741&forid=1&channel=5742870948&ie=ISO-8859-1&oe =ISO-8859-1&cof=GALT%3A%23663399%3BGL%3A1%3BDIV%3A%23222222%3BVLC%3A663399%3BAH%3Acenter%3 BBGC%3AA3C5CC%3BLBGC%3AA3C5CC%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3B GIMP%3A0000FF%3BLH%3A50%3BLW%3A256%3BL%3Ahttp%3A%2F%2Ffiles.phpclasses.org%2Fgraphics%2Fgo oglesearch.jpg%3BS%3Ahttp%3A%2F%2Fwww.phpclasses.org%2Fsearch.html%3BFORID%3A1%3B&hl=en

  • My Mac crashed. I got a new hard drive. I reinstalled Lightroom. Fortunately ircats are stored on an external drive. How do I import all of the old catalogues from external drive into a new LR catalogue. I have done it before. It has just been many years

    My Mac crashed. I got a new hard drive. I reinstalled Lightroom. Fortunately ircats are stored on an external drive. How do I import all of the old catalogues from external drive into a new LR catalogue. I have done it before. It has just been many years and I can't recall how.

    If you had stored your catalog files on an external drive, then all you have to do is double-click on them to open them and use them.
    Or you could move them to the internal drive and double-click on them once the move is completed.
    To create a single catalog file from multiple ones, you could use File->Import from Another Catalog

  • Importing webpage into fcp

    i am making a documentary and need to import some webpages into fcp... does anyone know how to do it? for example i am trying to show results from a tennis tournament but somehow can't seem to get it into my fcp..
    thanks.

    Take a screenshot.
    I used to advocate FAKING the screenshots...
    http://www.wesplate.com/helpful/web_screenshot/
    ...but this was back when most computers were 640x480 and you've never be able to zoom in well enough on your capture.
    Now I say record your web site at 1920x1200 then "pan and scan" it in After Effects. This little page is far too detailed in the wrong areas but might give you some inspiration...
    http://www.automaticduck.com/nabanimation/
    If you don't need an animated web page then just a single screenshot should suite you fine. Save the screenshot as a PNG or PDF or PICT or some such thing then bring that into FCP.
    But if you spend time to make the web page look good, it will.

  • I'm using LR5.7 on a Mac Mini running Mavericks and when I attempt to import a folder of new RAW photos from my external drive into my catalog instead of seeing a preview of each thumbnail photo I see the following message displayed: "Preview Unavailable

    I'm using LR5.7 on a Mac Mini running Mavericks and when I attempt to import a folder of new RAW photos from my external drive into my catalog instead of seeing a preview of each thumbnail photo I see the following message displayed: "Preview Unavailable for this file." If I highlight any other folder of photos the previews are all there. What is the likely reason for these previews being unavailable? JohnnyCam

    What camera took these RAW photos?
    Did you use any Nikon software to transfer the photos to your computer's hard disk?

  • Importing SAS Datasets into Oracle Tables

    Is there a way to load SAS Data sets into Oracle Tables through SQL loader/SQL Dvlpr Migration Workbench/DataPump?
    MS Access has facility to import SAS Datasets into its .mdb files,
    but Would greatly appreciate if anyone could suggest a direct load into Oracle
    Volume : 0.4 M records
    Thanks a bunch!

    Hello,
    Datapump can use Dump from Datapump only. So, I don't think this utility could help you.
    SQL*Loader could be useful if you can extract from SAS a formated file (for instance CSV file).
    Oracle SQL Developer can help you to migrate data from MS Access to Oracle.
    Please, find below a useful link about how to migrate data from SAS to Oracle:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:87316000346302739
    Hope this help.
    Best regards,
    Jean-Valentin

  • How to import pictures from an external memory into Iphoto?

    How to import pictures from an external memory into Iphoto. Is there a way to open all the pictures in my computer in the Iphoto?

    to import photos either use the iPhoto file menu ==> import command or drag the photos to the iPhoto icon in the dock
    LN

  • Can I import .MTS files from an external hard drive into Final Cut Pro X?

    Can I import .MTS files from an external hard drive into Final Cut Pro X?

    Luis Sequeira1 wrote:
    b) Use an utility like Clipwrap or MPEG Streamclip to convert the mts file to a quicktime (mov) file
    Luis,
    Just to clarify one point…in order for Streamclip to convert the MTS I believe a plug-in like the AVCCAM QuickTime importer from Panasonic needs to be installed. (Credit David McClain over at the FCS boards for that info.)
    Russ

  • I imported my photos from an external hard drive into Lightroom, edited my photos but what next...?!

    Adobe,
    I imported my photos from an external hard drive into Lightroom, edited my photos and when i decided to export them the originals had not been updated and the deleted photos had not been deleted. How do i set it up so that once i import the photos, edit them and export they are then placed back in their original folder edited and updated?
    I have managed to export the photos to another file but these were exported with an Adobe.xmp file. What is this and is this necessary?
    Thanks for your help!

    It's important to realise that LR is a DAM (Digital Asset Management) application - no images are actually imported into LR only links to where they are. Secondly, the details of any edits that you make to your images are kept only in the database and/or xmp files depending how you set this up in Preferences. In the general workflow e.g. edit in Lightroom, further edit in Photoshop and returning to LR then creating xmp files aren't really necessary. So just to emphasise - edits are stored in the LR's database, the original RAW images themselves don't change (non destructive editing). You can prove this yourself by desaturating an image (turning it into a B+W) and then look at the original images in Explorer - you'll see it's still being shown in colour.
    Exporting an image is something different. By implication, you've finished with the image and perhaps want to save an image for posting on the web somewhere. Now assuming your not using any additonal and freely available LR export plug-ins, one way would be to Export a jpeg image to a folder on the desktop and this is allowed for in the Export dialogue. At this time LR reads any edits from it's database and applies those to the exported jpeg (or tiff) file it's going to send to the folder on the desktop.
    As mentioned earlier, any edits and keywords etc are stored in LR's database - original RAW files remain untouched. XMP files also store the edits if LR is set up to create xmp files (in Preferences) but these are not really necessary unless you are going to be editing an already edited RAW file in another application. As an example - you import into LR's library a scanned negative. Now because strictly speaking LR isn't designed to work with negative images, you now open this file via Bridge into ACR and from here reverse the negative into a positive image. All fine and good except when you go back into LR what's shown is still a negative so what is needed is to update the metadata (LR > Metadata > Read Metadata from file) which will force LR to read the newly created metadata from the xmp file that Bridge generated. As already suggested, if you're happy editing your RAW files in LR and only LR then xmp files aren't really necessary - all the data being saved in LR's database.
    Hope this has been of some help but if I might also suggest, purchasing a good book on LR from the outset thus getting to really know LR will pay dividends further on down the line.

Maybe you are looking for

  • How to get coordinates of a ROI in an image in Labview

    Hi, I have a question regarding image processing in NI-IMAQ. I have Ni-IMAQ module available, soon I may acquire NI-Vision too. I have an image file and I would like to draw a rectangle as Region of Interest (ROI) and be able to get the coordinates o

  • Save file from server cache in WebUI

    Hello, maybe someone here can help me with this obscure problem, that bothers me for quite some time now: I want to save a pdf file from an internal table to the clients harddrive. Everything is implemented as in Thomas Jung's BLOG(forgot the link) o

  • Product cost by sales order with Valuated Sales order stock

    Hi Gurus, I am working on Poduct cost by Sales Order with Valuated stock. but i have doubt ragarding to Cost estimation. 1.In sales order scenario also Standard Cost estiamtion (CK11n and CK24) and Marking, Releasing is Mandatory? if not how can we e

  • Mail app will not open in my MacBook Air

    When I try running it, it simply collapses and will not let me click on any item of the menu. What can I do? If I log in with a different user it works, but not with my user. Please help!

  • Macbook doesn't wake from sleep (bluetooth)?)

    My new aluminum macbook has been perfect aside from ... I bought a new bluetooth mouse and every so often my macbook doesnt wake from sleep. I have read some other bluetooth bugs, is there a workaround? I have been purposely disabling bluetooth befor