473,480 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

total newbie issue

4 New Member
I do a daily news feed, right now in html. Clients pull it
into their websites via an iframe (so you can read the news items
while on each client's website).

I want to get away from the iframes. So do the clients. Some have suggested xml. So let's say I convert
my news files to xml, with an xslt so the file looks like it should.

If each client has their own website, would they be able to somehow
pull the contents of my xml files from my server, and into their own
page, so it would look as if it was their own content?

What would I have to supply to them so they could do that? Would I
just upload the xml files - with a schema and an xslt - and point the
clients to the directory and say - "have at it"??? And what would the
clients need to do?

Thanks in advance...
Dec 22 '08 #1
7 1589
Dormilich
8,658 Recognized Expert Moderator Expert
there are several possibilities... (do I understand right, that the clients have their own server?)
  • provide xml
    - the clients can access it via AJAX, that requires JS XSLT processing, so your clients will need the AJAX code, the (JS-)XSLT code and the XSL stylesheet.
    - the clients can access it via server to server transfer, doing XSLT there (requires server side processing code (PHP, ASP,...) and the XSL stylesheet) advantage: doesn't need Javascript
  • provide HTML (as snippet, e.g. content wrapped in <div>)
    - you can treat that like xml, including the code via AJAX. your clients require the AJAX code.
    - server to server transfer, using (remote) include

the most elegant way in my opinion is a server to server transfer, although that requires knowledge of server side scripting (you're out of luck if you can't alter the code)

regards
Dec 23 '08 #2
mikeelg
4 New Member
Thank you for your reply. Yes - the clients have their own server. They have indicated they want to do server-to-server processing. I am trying to learn what I need to have on my site to let them do that.

Would I need to have anything on my server other than the xml files, a schema and a xslt?

Or would I need to supply them with some type of processing code or scripting? And if so, what kind? I am new to xml, and before agreeing to do this, want to make sure I know what I am doing. Thanks again.
Dec 23 '08 #3
Dormilich
8,658 Recognized Expert Moderator Expert
@mikeelg
basicly you only need to provide the files you mentioned. Did the clients say something about how they want to implement your code? (they might be suited coders themselves)

regards
Dec 23 '08 #4
mikeelg
4 New Member
One client says they use php, another says they use (I think?) CURL. And yes, they have coders (which I am not) on staff.

Would I need to provide them with a list of all the files and their urls? Or would their code be able to "crawl" the directory with the files on my server?

Also (and thank you again for your patience!) would I put the link to the schema and xslt at the top of my xml files? They may want to modify the xslt, so I'm not sure if I need to leave that off.
Dec 23 '08 #5
Dormilich
8,658 Recognized Expert Moderator Expert
@mikeelg
then you most probably don't have to worry about the client's server implementation.

@mikeelg
put the XSD in and definitely leave the XSLT off.

@mikeelg
providing the URLs would be a good service.
Dec 23 '08 #6
mikeelg
4 New Member
Thank you so much - this was a HUGE help.
Dec 23 '08 #7
Dormilich
8,658 Recognized Expert Moderator Expert
see it as a christmas gift....
Dec 23 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

4
3760
by: Rob | last post by:
I haven't a clue how to accomplish this. All the data is in one table. The data is stored by registration date and includes county and number of students brokne out by grade. Any help...
2
5316
by: Jon | last post by:
I have a datagrid with a total row on the bottom. What is the best method to "instantly" update the total row when the value of any row changes. I am running into problems when I use the column...
7
2470
by: streff | last post by:
Hi all, my first post here, i'm a bit of a newbie when it comes to access programming. I need to design a query that will return a number of dvd titles with a total running time of a set size...
1
5281
by: iht | last post by:
Fairly new to Access and really doesn't know much about SQL except some basic commands. Currently I'm working with a database that I've already sorted by some queries, and here's a simplified...
1
1490
by: RICHARD BROMBERG | last post by:
Using Access 2000, I have a table called tblAccounts The number of entries in this table can increase or decrease. I also have a form where I use a Combo box to locate any of the entries using...
7
3639
by: Sunil Korah | last post by:
Hi, I haven't used access reports much. I have a problem in getting the total of a group. I have 3 fields, ProgName (Program name), Pname (Participant's name) and PCategory (Participant...
4
1388
by: charlesw7 | last post by:
Couple of newbie questions and one specific to the issue I am trying to solve. In some cases, my XSLT will specify <xsl:output method="xml"/> but the output will be plain text with no XML tags...
2
1293
by: testar | last post by:
Hi there, I am trying to do a similar thing here with access n vb but with a few additions. Please take a look. I have a table that looks like this: ID Product Total 1 aaa 10 2 ...
7
2131
by: Ecohouse | last post by:
I'm working on a project that was dropped in my lap. It is in Access 2003. There are short time fields which get calculated values (eg. 1:30). But I will need to total up those values for...
5
1387
by: Dave | last post by:
I am new to Visual Web Developer 2005 Expres. I am using absolute positioning and every time I add a button control to my web form its width extends all the way to the edge of the page. IOW I...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7043
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7081
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6737
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6921
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2984
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.