|
 |
07-13-2009, 02:40 PM
|
#1
|
|
Hey, you're trying for the goal by going the other way around, you're crazzzyyyy!
Join Date: Jul 2007
Location: Miami
Posts: 4,169
|
Started work on my website again, have a question!
I started to work on my site agian, I wanted to add my worklog to it, but I do not want to sit there and recreate the thing. Is there a way to get my worklog to display in my own format onto my site? If yes can someone explain how to do it?
__________________
HiJack ZX1 CFSC
CAR PC ITEMS [ 35%]
INSTALL OF MULTI PC SYSTEM [ 35%]
BUG WORKOUT [ 0%]
INTERIOR MODS [ 45%]
HiJackZX1 Work Log
HiJackZX1 Website!
Please build up my REP.
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
07-15-2009, 06:53 PM
|
#2
|
|
Maximum Bitrate
Join Date: May 2008
Location: New Mexico
Posts: 575
|
Frames. Put a link to this thread into a frame, that way all of your navigation is still on your webpage, but someone can click "Worklog" or whatever you name it and the worklog will show. I'd have to dig a little, but I have the code to do it. If you want it, let me know.
__________________
Geek, Hacker, and EcoModder!
Project Turtle
[ ☺☺☺☺☺☺☺☺☺☺] Install 95%
Finalizing Fan Bay
Re-hiding wires: 25%
Please help me build my REP!
|
|
|
07-15-2009, 07:29 PM
|
#3
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
|
Frames are evil...
curl it.
|
|
|
07-15-2009, 07:43 PM
|
#4
|
|
Hey, you're trying for the goal by going the other way around, you're crazzzyyyy!
Join Date: Jul 2007
Location: Miami
Posts: 4,169
|
Quote: Originally Posted by freeflashstuff 
Frames. Put a link to this thread into a frame, that way all of your navigation is still on your webpage, but someone can click "Worklog" or whatever you name it and the worklog will show. I'd have to dig a little, but I have the code to do it. If you want it, let me know.
Yea, basically I use iFrames, Frames are bad, iFrames are good, lol. To get the forum pages to pop in there, I simply add the iFrame window name to the code. I am just worried that it will get all smashed into my window. Remember the site is a mini site.
Quote: Originally Posted by 2k1Toaster 
Frames are evil...
curl it.
I agree, but iFrames are good, lol
__________________
HiJack ZX1 CFSC
CAR PC ITEMS [ 35%]
INSTALL OF MULTI PC SYSTEM [ 35%]
BUG WORKOUT [ 0%]
INTERIOR MODS [ 45%]
HiJackZX1 Work Log
HiJackZX1 Website!
Please build up my REP.
|
|
|
07-15-2009, 08:01 PM
|
#5
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
|
Quote: Originally Posted by HiJackZX1 
Yea, basically I use iFrames, Frames are bad, iFrames are good, lol. To get the forum pages to pop in there, I simply add the iFrame window name to the code. I am just worried that it will get all smashed into my window. Remember the site is a mini site.
I agree, but iFrames are good, lol
I hate scroll bars within scroll bars. inline frames are better than the full window frames, but still any site with iframes looks cheap to me...
|
|
|
07-15-2009, 08:05 PM
|
#6
|
|
Hey, you're trying for the goal by going the other way around, you're crazzzyyyy!
Join Date: Jul 2007
Location: Miami
Posts: 4,169
|
Quote: Originally Posted by 2k1Toaster 
I hate scroll bars within scroll bars. inline frames are better than the full window frames, but still any site with iframes looks cheap to me...
I agree, scroll bars are very tacky, especially if the iframe and main window have them. Thats the reason I disabled the main scroll bars and only have the main iframe with scroll bars.
__________________
HiJack ZX1 CFSC
CAR PC ITEMS [ 35%]
INSTALL OF MULTI PC SYSTEM [ 35%]
BUG WORKOUT [ 0%]
INTERIOR MODS [ 45%]
HiJackZX1 Work Log
HiJackZX1 Website!
Please build up my REP.
|
|
|
07-15-2009, 09:23 PM
|
#7
|
|
Maximum Bitrate
Join Date: Jan 2008
Location: Dartmouth, MA
Posts: 517
|
There are tons of ways. How good are you with programming? Is the siteusing PHP at all? javascript even?
You can programatically make it happen so that it downloads the necessary portions of the mp3car page and inserts said portions into your page.
|
|
|
07-15-2009, 09:40 PM
|
#8
|
|
Hey, you're trying for the goal by going the other way around, you're crazzzyyyy!
Join Date: Jul 2007
Location: Miami
Posts: 4,169
|
Quote: Originally Posted by PaulF 
There are tons of ways. How good are you with programming? Is the siteusing PHP at all? javascript even?
You can programatically make it happen so that it downloads the necessary portions of the mp3car page and inserts said portions into your page.
It uses mainly flash and Javascript. I know there was a way, but I cant remember it, its been such a long time.
__________________
HiJack ZX1 CFSC
CAR PC ITEMS [ 35%]
INSTALL OF MULTI PC SYSTEM [ 35%]
BUG WORKOUT [ 0%]
INTERIOR MODS [ 45%]
HiJackZX1 Work Log
HiJackZX1 Website!
Please build up my REP.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
07-15-2009, 09:53 PM
|
#9
|
|
Maximum Bitrate
Join Date: Jan 2008
Location: Dartmouth, MA
Posts: 517
|
There is a "way" but you need to program it and it's not necessarily easy. Going the javascript route would require you to do things one of two hacky ways. You could use AJAX, download the mp3car page to memory, parse the tags you want and play with how to output them using the likes of innerHTML or the proper DOM functions.
You could also do something pretty cool with it in a hacky way that may be more reliable. You can make a hidden IFrame load the mp3car thread and then use javascript to do something like this:
Code:
<body onload="document.body.innerHTML = document.getElementById("IframeNameHere").body.innerHTML;">
Assuming I got my syntax right, that would copy everything from the body of the iframe to the body of the page you're coding and remove everything from the body of the page you're coding. To keep it whats already in the body, you could concatenate instead like so:
Code:
<body onload="document.body.innerHTML += document.getElementById("IframeNameHere").body.innerHTML;">
|
|
|
07-15-2009, 10:11 PM
|
#10
|
|
Maximum Bitrate
Join Date: Jan 2008
Location: Dartmouth, MA
Posts: 517
|
by "IframeNameHere" I really meant iframe id =)
|
|
|
07-17-2009, 02:13 PM
|
#11
|
|
Constant Bitrate
Join Date: Mar 2009
Location: Grand Rapids, Mi
Posts: 191
|
website is seriously lacking
__________________
Fear The Griz
-Everything I do is Unusual
-Everything I do is Genius
-That is why I am Unusually Genius
94 Ford Explorer
Acer Aspire One 8" Netbook
-Working On GUI for openMobile
-Unusually Genius Development Website
- Worklog
|
|
|
07-17-2009, 03:47 PM
|
#12
|
|
Hey, you're trying for the goal by going the other way around, you're crazzzyyyy!
Join Date: Jul 2007
Location: Miami
Posts: 4,169
|
Quote: Originally Posted by UnusuallyGenius 
website is seriously lacking
Can you be more specific. If you mean content, then of course its lacking, its just a template, no info has been put in.
__________________
HiJack ZX1 CFSC
CAR PC ITEMS [ 35%]
INSTALL OF MULTI PC SYSTEM [ 35%]
BUG WORKOUT [ 0%]
INTERIOR MODS [ 45%]
HiJackZX1 Work Log
HiJackZX1 Website!
Please build up my REP.
|
|
|
07-17-2009, 05:44 PM
|
#13
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
|
Quote: Originally Posted by PaulF 
There is a "way" but you need to program it and it's not necessarily easy. Going the javascript route would require you to do things one of two hacky ways. You could use AJAX, download the mp3car page to memory, parse the tags you want and play with how to output them using the likes of innerHTML or the proper DOM functions.
You could also do something pretty cool with it in a hacky way that may be more reliable. You can make a hidden IFrame load the mp3car thread and then use javascript to do something like this:
Code:
<body onload="document.body.innerHTML = document.getElementById("IframeNameHere").body.innerHTML;">
Assuming I got my syntax right, that would copy everything from the body of the iframe to the body of the page you're coding and remove everything from the body of the page you're coding. To keep it whats already in the body, you could concatenate instead like so:
Code:
<body onload="document.body.innerHTML += document.getElementById("IframeNameHere").body.innerHTML;">
Easiest way is curl. Seriously.
Use a php page, curl the mp3car worklog. Then use php string parsing to get your posts, and put into a html code variable that would be displayed first. Then take all posts that are not yours, and parse them into a "comment" section below or something.
Much better than iframing.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:36 PM.
| |