How to embed in other people sites

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to embed in other people sites

Shaw, Richard A
How to embed in other people sites

This may sound like a strange requirement, but I thought I'd ask anyway because we have it as a requirement.

We have created some OPS pages which provide functionality that we want our clients to be able to embed into their existing web sites (not surprisingly they don't want to buy a complete replacement from us). Can anybody think of a way that this can be done without using Iframes ?

We want to embed it into their exisiting site so that the page with our functionality on it still has their banner and side bar, without us having to replicate it.

We will not be installing anything on their servers, OPS will be running on our servers.

The closest I can think of is that we add a bit of javascript to their page which calls OPS in portlet mode and then inserts the returned DIV into the page, and then the OPS AJAX does the rest. 


Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Richard Shaw  
Technical Design Authority - Information Solutions Consultancy  
Intelligent Transport Systems

Atkins Highways and Transportation
Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW

Tel: +44 (0) 1372 756407 
Fax: +44 (0) 1372 740055
Mob: 07740 817586 
E-mail: [hidden email]

www.atkinsglobal.com/its



This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How to embed in other people sites

Hank Ratzesberger
How to embed in other people sites
 
What about the obvious kludge of frames? 
 
Or what about url rewriting on their server? 
Possibly you would need to do similar rewriting
on yours, a last step in epilogue.xpl to "patch up"
hrefs on the page being presented.
 
Or, they provide a page you can parse (html mode of url-generator
or a webservice you can call to get the menu elements and you
can adorn your output.
 
Good luck,
Hank
 
Goleta, CA
 
 

We want to embed it into their exisiting site so that the page with our functionality on it still has their banner and side bar, without us having to replicate it.

 

Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Richard Shaw  
Technical Design Authority - Information Solutions Consultancy  
Intelligent Transport Systems

Atkins Highways and Transportation
Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW

Tel: +44 (0) 1372 756407 
Fax: +44 (0) 1372 740055
Mob: 07740 817586 
E-mail: [hidden email]

www.atkinsglobal.com/its



This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How to embed in other people sites

Erik Bruchez
Administrator
In reply to this post by Shaw, Richard A
Richard,

What drawback do you see with iframes?

-Erik

Shaw, Richard A wrote:

> This may sound like a strange requirement, but I thought I'd ask anyway
> because we have it as a requirement.
>
> We have created some OPS pages which provide functionality that we want
> our clients to be able to embed into their existing web sites (not
> surprisingly they don't want to buy a complete replacement from us). Can
> anybody think of a way that this can be done without using Iframes ?
>
> We want to embed it into their exisiting site so that the page with our
> functionality on it still has their banner and side bar, without us
> having to replicate it.
>
> We will not be installing anything on their servers, OPS will be running
> on our servers.
>
> The closest I can think of is that we add a bit of javascript to their
> page which calls OPS in portlet mode and then inserts the returned DIV
> into the page, and then the OPS AJAX does the rest.
>
>
> Richard Shaw
>
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤
>
> *Richard Shaw*  
> Technical Design Authority - Information Solutions Consultancy  
> Intelligent Transport Systems
>
> *Atkins* *Highways and Transportation*
> Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW
>
> Tel: +44 (0) 1372 756407
> Fax: +44 (0) 1372 740055
> Mob: 07740 817586
> E-mail: [hidden email]
>
> _www.atkinsglobal.com/its_ <http://www.atkinsglobal.com/its>
>
>
>
> *This email and any attached files are confidential and copyright
> protected. If you are not the addressee, any dissemination of this
> communication is strictly prohibited. Unless otherwise expressly agreed
> in writing, nothing stated in this communication shall be legally
> binding.* <http://www.blackspider.com/>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: How to embed in other people sites

Shaw, Richard A
In reply to this post by Shaw, Richard A
The web sites we are working on are generally for local government in the UK and as such must be compliant with the DDA (Disabilities and Discrimination Act) which says that you shouldn't use frames because text to speech readers do not support them well enough.

The other issue with iframes is that they often result in scrollbars on the page.


Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Richard Shaw  
Technical Design Authority - Information Solutions Consultancy  
Intelligent Transport Systems

Atkins Highways and Transportation
Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW

Tel: +44 (0) 1372 756407
Fax: +44 (0) 1372 740055
Mob: 07740 817586
E-mail: [hidden email]

www.atkinsglobal.com/its

-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: 11 October 2006 22:57
To: [hidden email]
Subject: Re: [ops-users] How to embed in other people sites

Richard,

What drawback do you see with iframes?

-Erik

Shaw, Richard A wrote:

> This may sound like a strange requirement, but I thought I'd ask
> anyway because we have it as a requirement.
>
> We have created some OPS pages which provide functionality that we
> want our clients to be able to embed into their existing web sites
> (not surprisingly they don't want to buy a complete replacement from
> us). Can anybody think of a way that this can be done without using Iframes ?
>
> We want to embed it into their exisiting site so that the page with
> our functionality on it still has their banner and side bar, without
> us having to replicate it.
>
> We will not be installing anything on their servers, OPS will be
> running on our servers.
>
> The closest I can think of is that we add a bit of javascript to their
> page which calls OPS in portlet mode and then inserts the returned DIV
> into the page, and then the OPS AJAX does the rest.
>
>
> Richard Shaw
>
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤
>
> *Richard Shaw*
> Technical Design Authority - Information Solutions Consultancy
> Intelligent Transport Systems
>
> *Atkins* *Highways and Transportation* Woodcote Grove, Ashley Road,
> Epsom, Surrey, KT18 5BW
>
> Tel: +44 (0) 1372 756407
> Fax: +44 (0) 1372 740055
> Mob: 07740 817586
> E-mail: [hidden email]
>
> _www.atkinsglobal.com/its_ <http://www.atkinsglobal.com/its>
>
>
>
> *This email and any attached files are confidential and copyright
> protected. If you are not the addressee, any dissemination of this
> communication is strictly prohibited. Unless otherwise expressly
> agreed in writing, nothing stated in this communication shall be
> legally
> binding.* <http://www.blackspider.com/>
>
>
> ----------------------------------------------------------------------
> --
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



This message has been scanned for viruses by MailControl - (see http://bluepages.wsatkins.co.uk/?4318150)



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How to embed in other people sites

Erik Bruchez
Administrator
Richard,

 > The web sites we are working on are generally for local government
 > in the UK and as such must be compliant with the DDA (Disabilities
 > and Discrimination Act) which says that you shouldn't use frames
 > because text to speech readers do not support them well enough.
 >
 > The other issue with iframes is that they often result in scrollbars
 > on the page.

That makes sense.

Technically, the most complete solution involves JSR-168 portlets, but
I understand that in this particular case your customers don't have a
portlet container.

But there is a lighter weight way of getting there. In particular, I
think that if all you need is include an XForms page into another page
and interact with that sub-page, all that is needed should be correct
id and name rewriting in the XForms page. The trick would be to make
the XForms engine (and possibly oxf:(x)html-rewrite) believe it is in
a portlet as far as rewriting ids is concerned.

I don't think this will work out of the box as currently, even though
oxf:xforms-to-xhtml takes a "namespace" input, this is only used for
caching at the moment, and the XForms engine actually calls the
portlet API to get namespaces for ids and names.

-Erik

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws