Re: your mail

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28641
interpreted = N
texte = on 07.03.2000 1:53, Jeff Grady at ndashade@yahoo.com wrote:> Here is what I want to do: > use [tcpconnect] to go to a URL (I assume this can be > any URL even one with Web DNA in it), then within this > context use TCPsend to pass a WebDNA command to that > machine and cull data from a db on that machine and > then pass that data to the .tpl file I am calling > through my webbrowser.If you don't have a possibility to put your own files onto the remote machine you will always depend on what the server returns. And if anyone changes the remote code your result might be unusable.You have two possibilities: First, you can ask the remote WebCat admin to allow WebCat commands, not just context's (I won't allow that :) Second, you can try to get an agreement with the other site and - for example - mirror the database on your server.Generally, every site which wants you to use their data should offer a way to share them. Any other site will count your attempt as a violation and at least block you with one or the other technique. This does not only apply to sites with databases but also for sites from which you get code using [tcpconnect]. > Can someone give me an example using their WebCatalog > site to, for example, retrieve a complete product list > into this file in plain text? I will be more than > happy to explain in more detail what I am trying to do > if I have thoroughly confused everyone.We do this, but not exactly the way you are thinking of:1 - In one site we get HTML data from a news agency who gets paid for it. We are just not happy with the look of their pages (too ugly) and read all HTML data into our own database with [tcpconnect] to administrate and show everything how we like to. This is only possible because the remote pages are generated by a program and have always the same structure.2 - For a second site we pull a complete WebCat database. Therefore we have a template on this server which exports all data to a textfile. Afterwards we redirect back to our machine and they have a special setup which sends the exported data as mail attachment to a specific address. For this task we are a trusted user for the remote server. We are password protected on our side and [encrypt] an access code whose seed value is stored on the remote server, out of reach. Occasionally we get a new seed value for [encrypt] and therefore the system is considered to be as secure as necessary. You got the clue? Nearly everything is possible if the remote site works closely together with you. If they don't, you might not be welcome there... Peter ++++++++++++++++++++++++++++++++++++++++++++++++ Ostry & Partner - Vienna/Austria - www.ostry.com Fon ++43-1-877 74 54 Fax ++43-1-877 74 54-21 ++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: your mail (Peter Ostry 2000)
  2. Re: your mail (Kenneth Grome 2000)
  3. Re: your mail (Jeff Grady 2000)
  4. Re: your mail (Kenneth Grome 2000)
  5. Re: your mail (Jeff Grady 2000)
  6. Re: your mail (Howard Wolosky 2000)
on 07.03.2000 1:53, Jeff Grady at ndashade@yahoo.com wrote:> Here is what I want to do: > use [tcpconnect] to go to a URL (I assume this can be > any URL even one with Web DNA in it), then within this > context use TCPsend to pass a WebDNA command to that > machine and cull data from a db on that machine and > then pass that data to the .tpl file I am calling > through my webbrowser.If you don't have a possibility to put your own files onto the remote machine you will always depend on what the server returns. And if anyone changes the remote code your result might be unusable.You have two possibilities: First, you can ask the remote WebCat admin to allow WebCat commands, not just context's (I won't allow that :) Second, you can try to get an agreement with the other site and - for example - mirror the database on your server.Generally, every site which wants you to use their data should offer a way to share them. Any other site will count your attempt as a violation and at least block you with one or the other technique. This does not only apply to sites with databases but also for sites from which you get code using [tcpconnect]. > Can someone give me an example using their WebCatalog > site to, for example, retrieve a complete product list > into this file in plain text? I will be more than > happy to explain in more detail what I am trying to do > if I have thoroughly confused everyone.We do this, but not exactly the way you are thinking of:1 - In one site we get HTML data from a news agency who gets paid for it. We are just not happy with the look of their pages (too ugly) and read all HTML data into our own database with [tcpconnect] to administrate and show everything how we like to. This is only possible because the remote pages are generated by a program and have always the same structure.2 - For a second site we pull a complete WebCat database. Therefore we have a template on this server which exports all data to a textfile. Afterwards we redirect back to our machine and they have a special setup which sends the exported data as mail attachment to a specific address. For this task we are a trusted user for the remote server. We are password protected on our side and [encrypt] an access code whose seed value is stored on the remote server, out of reach. Occasionally we get a new seed value for [encrypt] and therefore the system is considered to be as secure as necessary. You got the clue? Nearly everything is possible if the remote site works closely together with you. If they don't, you might not be welcome there... Peter ++++++++++++++++++++++++++++++++++++++++++++++++ Ostry & Partner - Vienna/Austria - www.ostry.com Fon ++43-1-877 74 54 Fax ++43-1-877 74 54-21 ++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Peter Ostry

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

(1998) Fun with dates (1997) Anyone online? (2004) Security Issue (2000) quantity minimum problem (1997) Migrating to NT (1997) NT - Thanks and Taxes (1997) THANKS (1997) Nested tags count question (1997) WSDL Wizard (2003) Secure server question (1997) international time (1997) Re1000001: Setting up shop (1997) HTML encoding in URLs (1997) Protect (1997) Generating unique SKU from [cart] (1997) Nested vs conditional (1997) (2000) Trigger: Only on Saturday (2001) SiteEdit (1999)