Strip part of content in Joomla Wrapper
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Jun 16, 2007 10:44 am
Strip part of content in Joomla Wrapper
Hi all,
I am a newbie to Joomla and I have a problem here. I have a wrapper to a 3rd party website, however i only need a portion of information from this 3rd party website (I don't want to show the whole 3rd party website). Is there a way that joomla wrapper can strip off part of the 3rd party website to show only what i want? Or is there any plugin or module that does that?
Thanks
Regards
Jerry
I am a newbie to Joomla and I have a problem here. I have a wrapper to a 3rd party website, however i only need a portion of information from this 3rd party website (I don't want to show the whole 3rd party website). Is there a way that joomla wrapper can strip off part of the 3rd party website to show only what i want? Or is there any plugin or module that does that?
Thanks
Regards
Jerry
-
- Joomla! Fledgling
- Posts: 2
- Joined: Tue Apr 22, 2008 8:04 pm
Re: Strip part of content in Joomla Wrapper
Hello, I also am new to Joolma and am attempting to achieve the same thing you are currently working on.
Does the site your trying to pull from use frames? if so it is possible to pull the data from just a specific frame. I have been successful with that strategy. However I get stuck once again when trying to pull only a partial amount of a page that DOESN"T use frames.
Have you had any luck yet?
Does the site your trying to pull from use frames? if so it is possible to pull the data from just a specific frame. I have been successful with that strategy. However I get stuck once again when trying to pull only a partial amount of a page that DOESN"T use frames.
Have you had any luck yet?
- dam-man
- Joomla! Exemplar
- Posts: 7961
- Joined: Fri Sep 09, 2005 2:13 pm
- Location: The Netherlands
- Contact:
Re: Strip part of content in Joomla Wrapper
Hi Guys,
Welcome to the forum both of you!
If your databases are on the same server you can show information from it. PHP will connect the DB, and the wrapper will show your page. If you want this inside Joomla! The story will be diffrent. You'll have to make a component.
Or use a module/plugin to show data inside a content page of Joomla!
Welcome to the forum both of you!
If your databases are on the same server you can show information from it. PHP will connect the DB, and the wrapper will show your page. If you want this inside Joomla! The story will be diffrent. You'll have to make a component.
Or use a module/plugin to show data inside a content page of Joomla!
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards
Dutch Boards | Joomla Coding Boards | English Support Boards
-
- Joomla! Fledgling
- Posts: 2
- Joined: Tue Apr 22, 2008 8:04 pm
Re: Strip part of content in Joomla Wrapper
The data that I was trying to pull from wasn't located in a database. It was a portion of a page hard-coded on the page of another website.
See I'm creating a new website for the City of New Ulm, MN. And we wanted some of the content from the old site (which isn't managed by us). Since the content I wanted to pull from was all located inside a div tag, with an id assigned to the div...I was hoping there was a way for the wrapper link to pull only the content inside that particular div tag.
This isn't an issue for me anymore, since the content was all static and we decided to just copy paste all of it into our new site. However it would still be interesting to know if Joomla! has those capabilities. That and I think the original poster of this thread is trying to accomplish something very similar to what I was trying at the time.
Thanks!
See I'm creating a new website for the City of New Ulm, MN. And we wanted some of the content from the old site (which isn't managed by us). Since the content I wanted to pull from was all located inside a div tag, with an id assigned to the div...I was hoping there was a way for the wrapper link to pull only the content inside that particular div tag.
This isn't an issue for me anymore, since the content was all static and we decided to just copy paste all of it into our new site. However it would still be interesting to know if Joomla! has those capabilities. That and I think the original poster of this thread is trying to accomplish something very similar to what I was trying at the time.
Thanks!
-
- Joomla! Apprentice
- Posts: 7
- Joined: Fri Jul 11, 2008 3:34 pm
Re: Strip part of content in Joomla Wrapper
I'm having the same problem. I want to display a part of our old site, but don't have access to it. You can modify the wrapper settings to only show a % of the page, but unfortunately it's only from the top left corner.
I haven't been able to figure out how to display something in the middle of the page.
Any suggestions?
Thanks,
-Brian
I haven't been able to figure out how to display something in the middle of the page.
Any suggestions?
Thanks,
-Brian
-
- Joomla! Enthusiast
- Posts: 164
- Joined: Wed Jun 21, 2006 2:50 am
Re: Strip part of content in Joomla Wrapper
I am not an expert on how wrappers work, but if the div or other element has a specific id or can be identified by name, you can use Javascript to rewrite it. Also, at some point in the wrapper you are probably reading in the stream from the other site, break out the regex and filter the page down to what you want. You would probably have to write a simple component/module to be the wrapper application, I do not know if the current wrapper apps out there will do this.
So, you should probably be able to edit the data either with javascript once the browser renders it, or if you are reading in the html output through php the read in data can be manipulated with regex.
It sounds like a huge pain, and probably is, this is how we used to do it when I wrote AIM bots that pulled in weather an horoscopes from other websites (perl, but same idea).
So, you should probably be able to edit the data either with javascript once the browser renders it, or if you are reading in the html output through php the read in data can be manipulated with regex.
It sounds like a huge pain, and probably is, this is how we used to do it when I wrote AIM bots that pulled in weather an horoscopes from other websites (perl, but same idea).
-
- Joomla! Apprentice
- Posts: 7
- Joined: Fri Jul 11, 2008 3:34 pm
Re: Strip part of content in Joomla Wrapper
RagedBull,
Thanks for the heads up. I have been doing some research on the matter and have pretty much come to that exact same conclusion.
Either some javascript or Ajax code is where my solution will reside.
Here is the location of the div in terms of css: and attached is the complete <div> code.
Any idea what the javascript or ajax might look like?
All the best,
-Brian
Thanks for the heads up. I have been doing some research on the matter and have pretty much come to that exact same conclusion.
Either some javascript or Ajax code is where my solution will reside.
Here is the location of the div in terms of css: and attached is the complete <div> code.
Any idea what the javascript or ajax might look like?
All the best,
-Brian
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Apprentice
- Posts: 6
- Joined: Sun Aug 24, 2008 12:49 pm
Re: Strip part of content in Joomla Wrapper
an extension with a start and end tag would be a great idea, have you guys come across any solutions?
- TheMick07
- Joomla! Apprentice
- Posts: 19
- Joined: Thu Oct 23, 2008 7:00 pm
Re: Strip part of content in Joomla Wrapper
i tried writing a script for a toolbar like the one above and i too cant get it quite right, if someone could give a brief step by step of the javascript or Ajax?
- sn00ze
- Joomla! Apprentice
- Posts: 27
- Joined: Wed Jul 15, 2009 11:01 am
- Contact:
Re: Strip part of content in Joomla Wrapper
any progress on this one?
-
- Joomla! Apprentice
- Posts: 16
- Joined: Sun Dec 06, 2009 9:24 pm
-
- Joomla! Apprentice
- Posts: 40
- Joined: Fri Jul 17, 2009 6:28 pm
Re: Strip part of content in Joomla Wrapper
Hi - please can anyone expand on what dam-man said about using a module/plugin for this? I want to pull content from a component into an article.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Aug 16, 2010 8:17 am
Re: Strip part of content in Joomla Wrapper
how to show only part of the 3rd party?
-
- Joomla! Apprentice
- Posts: 14
- Joined: Thu Dec 09, 2010 2:13 pm
Re: Strip part of content in Joomla Wrapper
I would like to achieve the same as above. To be more specific I want to show/embed PART from an external webpage into my joomla website. I would like to show only the content of the <div id="calendars"> within my joomla article from this webpage: http://www.homeaway.com/vacation-rental ... tion-avail
Anybody any solutions out there yet...we are getting close to 2011.
Merry X and splendid 2011 to ya all!
Anybody any solutions out there yet...we are getting close to 2011.
Merry X and splendid 2011 to ya all!