The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Pull content from another web page to your web page.

View previous topic View next topic Go down

Pull content from another web page to your web page.

Post by !_NICK_! on January 30th 2014, 7:57 am

I have two websites. I hate having to go post the same thing on both websites. I want to be able to take a part of the web page to my 2nd web page without having to post the same exact thing. What is the Javascript to get an element from my first web site, and for it to be able to automatically update as soon as I update it? I know I didn't do a good job explaining it, but please bear with me.

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Re: Pull content from another web page to your web page.

Post by Ultron's Vision on January 30th 2014, 8:02 am

This is not 100% automatizable without an external server (just simple PHP support is enough, really), but if you have that set up, you can almost automatically pull data from one site to another without problem.

I would demonstrate this, but I'm not on my PC right, and this involves a mix of JavaScript and PHP to accomplish.

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Re: Pull content from another web page to your web page.

Post by !_NICK_! on January 31st 2014, 2:19 am

I would prefer to do it through Javascript if there is a way. I'm not into all the database things. Wink


Edit: This is something similar to what I am talking about.http://www.w3schools.com/jquery/ajax_load.asp I just don't want to have to click it to get it to automatically load, I want it to load automatically.

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Re: Pull content from another web page to your web page.

Post by !_NICK_! on February 2nd 2014, 2:02 am

Bump

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Re: Pull content from another web page to your web page.

Post by !_NICK_! on February 11th 2014, 7:32 am

Bump

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum