EmbedObject only works with media (Flash, PDF, etc) not arbitrary URLs like HTML.
There is a Flash version of Google Maps http://code.google.com/apis/maps/documentation/flash/ however, as is, EmbedObject is missing a few attributes to support it (flashVars, etc). However, instead of tweaking the EmbedObject, there should be a separate macro GoogleMaps(), which will take the Link from the map and a few params (width, height). It could be modeled on EmbedObject. I can work with someone willing to create such macro in terms of features and installing it into J Wiki. > From: Michael Dykman <[email protected]> > > It occurred to me the moment I pressed send that EmbedObject is likely > designed to, well, embed html object tags which are not going to do > what you want unless you find a flash-component that in itself wraps a > browser. I think this route is a red herring. > > - michael > > > On Thu, Dec 3, 2009 at 10:57 AM, Brian Schott wrote: > > Michael, > > > > I keep getting the following error message: too many values to unpack > > > > > > Eventually I trimmed down the original google link to this jwiki > > command to the following, but still get the same error message. > > > > I may have made a little headway by trying the following command. > > > > > <> > > > > But the resulting error message is produced and I don't know what > > "target" to supply. > > <> > > > > Finally, I get the following error message with the simplest > > > code:<> > > > > > > Current configuration does not allow embedding of the file > > http://maps.google.com/ because of its mimetype text/html.: > > http://maps.google.com/ > > > > So, it may be that text/html is not an allowable mimetype. > > > > On Thu, Dec 3, 2009 at 10:16 AM, Michael Dykman wrote: > >> Hi Brian, > >> > >> Doesn't the embedded link you got from google return type text/html? > >> Try that in url_mimetype... > >> > >> - michael dykman > >> > >> > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > -- > - michael dykman > - [email protected] > > "May you live every day of your life." > Jonathan Swift > > Larry's First Law of Language Redesign: Everyone wants the colon. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
