Hi guys! I'm sure this has been asked about a million times before. I scanned through the wiki and help pages, but the best I could come up with is ***todays_notes*** which is not quite what I'm going for.
Here's muh page: http://mariposa.comicgenesis.com/
I used to have one of those linked bloggers that updated via FTP and would just auto-update on the site, it was awesomesauce and I loved it. Now they don't do that anymore.
So I made a recentnews.html and called it to populate the parchment paper area of my indextemplate.html. I even painstakingly javascripted the paper part to expand to accommodate the text (though it's not perfect, but that's not the issue here).
But my problem is this. Right now, I'm writing a blog entry, copying it into Recentnews.html, deleting the oldest entry out of the HTML file, and moving it into workspace/webpages when I move my new comics in or whenever I feel like writing a new 'news' entry. But, in order for it to actually show, I have to actually go in and request a Full Update so that all relevant HTML files are updated.
I don't mind doing the busywork to transfer the blog posts into the text file. But is there any way to get that page to automatically update along with my comic?
I know it's possible to instead call ***todays_notes*** instead of doing an include recentnews.html or whatever it is that I did, and rename the file to YYYYMMDD.txt, but that will stick it to all the past comics, and I don't really want that.
Any ideas? Has this been done to death? Is my question style completely incomprehensible? Would you like fries or apple slices?
Autoupdating Newsfeed?
- LibertyCabbage
- Cartoon Hero
- Posts: 4667
- Joined: Tue Jan 25, 2005 4:08 pm
- Location: bat country
- Contact:
Re: Autoupdating Newsfeed?
I think the indextemplate.html file might automatically update when the comic does. So, you might wanna try just updating the file in /workspace/ the day before the comic goes up.
However, have you considered making a Blogspot/Wordpress/Tumblr account and showing it in an iframe?Blogspot lets you schedule posts to go live at a specified time, and I assume Wordpress and Tumblr have this feature as well. Doing this would also archive older posts, and it would let readers comment on your posts if you want them to be able to.
Also:
However, have you considered making a Blogspot/Wordpress/Tumblr account and showing it in an iframe?
Code: Select all
<iframe src="http://example.blogspot.com" width="700px" height="2500px" style="border:0;"><p>Your browser does not support iframes.</p></iframe> Also:
Not if you use an iframe. You can set it to link to an HTML file in your /public_html/ directory. Any changes to the HTML file should instantly show up on the live site without having to schedule an update.Natane wrote:But, in order for it to actually show, I have to actually go in and request a Full Update so that all relevant HTML files are updated.
Re: Autoupdating Newsfeed?
I've considered using an iframe, but it...it doesn't really seamlessly integrate with the page the way I'd like, whereas using the include tag with a text-only HTML lets me overlay the text the way I stylistically want it to be.LibertyCabbage wrote:I think the indextemplate.html file might automatically update when the comic does. So, you might wanna try just updating the file in /workspace/ the day before the comic goes up.
However, have you considered making a Blogspot/Wordpress/Tumblr account and showing it in an iframe?Blogspot lets you schedule posts to go live at a specified time, and I assume Wordpress and Tumblr have this feature as well. Doing this would also archive older posts, and it would let readers comment on your posts if you want them to be able to.Code: Select all
<iframe src="http://example.blogspot.com" width="700px" height="2500px" style="border:0;"><p>Your browser does not support iframes.</p></iframe>
Updating the file in /workspace/ doesn't do it - Since I'm calling a secondary html file into indextemplate and not updating indextemplate itself, it won't autoupdate unless I Full Update it. =/ The code I'm using is just the standard tag...
Code: Select all
<div id="recentnews">
***include /recentnews.html***
<br><br>
</div>- LibertyCabbage
- Cartoon Hero
- Posts: 4667
- Joined: Tue Jan 25, 2005 4:08 pm
- Location: bat country
- Contact:
Re: Autoupdating Newsfeed?
Sorry, I didn't elaborate. I meant getting rid of the include recentnews.html part and just putting the news updates in indextemplate.html directly. That way, if you upload the edited indextemplate.html on Monday, it should get updated on the site the same time the comic gets posted on Tuesday. (Assuming indextemplate.html gets picked up by the scheduler, anyways.)Natane wrote:Updating the file in /workspace/ doesn't do it - Since I'm calling a secondary html file into indextemplate and not updating indextemplate itself, it won't autoupdate unless I Full Update it. =/ The code I'm using is just the standard tag...
From what I've seen, Blogspot is very customizable, and I wouldn't be surprised if you were able to get an iframe to look the way you want it to if you messed around with the blog template a little.Natane wrote:I've considered using an iframe, but it...it doesn't really seamlessly integrate with the page the way I'd like, whereas using the include tag with a text-only HTML lets me overlay the text the way I stylistically want it to be.
Re: Autoupdating Newsfeed?
Hmmmm~ There is a thought, actually! I mean, if I'm updating a page anyway... I'm just so terrified of messing up my indextemplate, heehee. But maybe I'll give that a try!LibertyCabbage wrote: Sorry, I didn't elaborate. I meant getting rid of the include recentnews.html part and just putting the news updates in indextemplate.html directly. That way, if you upload the edited indextemplate.html on Monday, it should get updated on the site the same time the comic gets posted on Tuesday. (Assuming indextemplate.html gets picked up by the scheduler, anyways.)
My problem with iframe isn't the contents of the iframe. I'm confident enough with my pagewrangling to know I could get my blog to look nice in there.LibertyCabbage wrote: From what I've seen, Blogspot is very customizable, and I wouldn't be surprised if you were able to get an iframe to look the way you want it to if you messed around with the blog template a little.
My problem with iframe is the scrollbars of tears and sadness that totally break up the main page. Having to scroll around inside a teeny little frame inside another page is a very cluttered look. :< Unlike the include tag, it's anything but seamless...Unless there's some way to remove the 'frame' from the iframe and simply make it a static window. But I'm not quite familiar enough with iframes to know if that's possible, so...
- LibertyCabbage
- Cartoon Hero
- Posts: 4667
- Joined: Tue Jan 25, 2005 4:08 pm
- Location: bat country
- Contact:
Re: Autoupdating Newsfeed?
The key's to make backups of everything.Natane wrote:Hmmmm~ There is a thought, actually! I mean, if I'm updating a page anyway... I'm just so terrified of messing up my indextemplate, heehee. But maybe I'll give that a try!
Try adding this CSS to your iframe:Natane wrote:My problem with iframe is the scrollbars of tears and sadness that totally break up the main page. Having to scroll around inside a teeny little frame inside another page is a very cluttered look. :< Unlike the include tag, it's anything but seamless...Unless there's some way to remove the 'frame' from the iframe and simply make it a static window. But I'm not quite familiar enough with iframes to know if that's possible, so...
Code: Select all
style="overflow:hidden;"Re: Autoupdating Newsfeed?
Cool! I'll give that a shot. :3 I'll update the indextemplate for now, and play around with the iframe options in the meantime. Thanks LC. <3LibertyCabbage wrote: Try adding this CSS to your iframe:Code: Select all
style="overflow:hidden;"
Also, Ushuia, the best suggestion I can give you is watermarking? You should really make your own thread for this though!
*blinks at signature* *not sure if spambot...*
- LibertyCabbage
- Cartoon Hero
- Posts: 4667
- Joined: Tue Jan 25, 2005 4:08 pm
- Location: bat country
- Contact:
Re: Autoupdating Newsfeed?
It's no problem. Lemme know if you ever want any help getting your site to look right.Natane wrote:Thanks LC. <3
Definitely a spammer.Natane wrote:*blinks at signature* *not sure if spambot...*

