Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Old Town, Maine U.S.
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Apache server trying to integrate XML?

    I just started a strategic relation with Ah-Ha and I do not know anything about xml if someone could help me out that would be awsome.

    Izaak,

  • #2
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,459
    Thanks
    1
    Thanked 23 Times in 21 Posts

    Question Integrate it how?

    If you mean serving XML by mime-types, you can ask them to include statements like the following:

    AddType application/xml .xml
    AddType application/xhtml+xml .xhtml

    etc. etc. Or, if they allow .htaccess files, you can put them in yourself.

    If you mean PHP, I strongly recommend you turn *off* php short open tags, as any sort of processing instruction will otherwise go through PHP -- with unpredictable results.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #3
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Old Town, Maine U.S.
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Alex,

    Sorry, I should have been more detailed. What I am trying to do is integrate Ah-Ha's search results with mine. I have no clue on how to use XML and if I want this to look professional this is the only alternative. I have an apache server and from what I am gathering I need to use PHP to enable XML...

    If someone helps me with this that would be great. You scratch my back I'll scratch yours.

    Izaak,

  • #4
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,459
    Thanks
    1
    Thanked 23 Times in 21 Posts
    No, you don't need PHP to enable XML. But if you run PHP and XML on the same server, you might have issues. That's what my reply meant.

    PHP has some XML parser functions, and so does Perl, I believe -- but PHP relies on expat (a C-based XML parser), and maybe Perl does too.

    Can you show us some source code of what you have and what you want?
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #5
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Old Town, Maine U.S.
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here is the example source code.

    Partner Integration

    CID is: 53409

    They don't really set-up anything for you they just give you examples and your partner code.

    Izaak,
    Last edited by inason; 10-12-2002 at 09:15 PM.

  • #6
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,459
    Thanks
    1
    Thanked 23 Times in 21 Posts
    Okay, it's a straight-forward, well-formed XML document. Good.

    What do you want to do with the data it contains? What are the end-goals you're trying to attain?
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #7
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Old Town, Maine U.S.
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, I am running a PHP directory and if at all it is possible I would like to integrate their results kind of like msn, and yahoo does. When you submit a search at yahoo you will see sponsored listings at the top and bottom of the results defined by keywords.

    To be specific my search directory community is geared towards payment processing companies (ex: merchant account, check processing, atm processing, pos, payment gateways). I would like the XML to only bring up payment processing providers or related results (business, financial, ecommerce, webmaster). The guy at Ah-Ha said that I can do all of this with the XML code. He also said that someone with experience in XML should be able to do it in minutes, I have know idea if that was glorified or not.

    Am I making this sound more difficult then it should be?

    Izaak,

  • #8
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,459
    Thanks
    1
    Thanked 23 Times in 21 Posts
    Ooh. I am afraid I have to step off of this one. I've signed a contract to do work for someone who may be a competitor to you. I don't want to get in trouble for violating my contract.

    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #9
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I've done a bit of PHP-XML, and it certainly sounds like this would be a good option for you - you can use the XML parser to turn the xml document into an array, which you can sort, search through etc.. and finally output as html.

    Have a look at http://www.php.net/manual/en/ref.xml.php which will give you the parsing functions, and discusses their uses.

  • #10
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Old Town, Maine U.S.
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, for the advice. I just don't have any clue what so ever about programming. If someone could help me out, like I said you scratch my back i'll scratch yours.

    Izaak,


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •