Archive for the ‘ramblings’ Category

hacking the blogger hack, part one

Posted on the October 20th, 2006 under ramblings by rayland

Have you ever wondered how to use the expandable post summaries hack without having “Read more” message appear on every single post? Personally, I find it irritating to have a read more link on a post that doesn’t even need it…

Anyways, I will show you how to hack the expandable post summaries hack using javascript..

First of all, add these codes within your <head> </head> area and right after the closing of your style sheet..

<style>
<MainOrArchivePage>
span.fullpost {display:none;}
</MainOrArchivePage>

<ItemPage>
span.fullpost {display:inline;}
</ItemPage>
</style>

<script type=”text/javascript”>
var memory = 0;
var number = 0;
</script>

Next, you have to add the following code to your template, somewhere after the <$BlogItemBody$> tag:

<MainOrArchivePage>
<script type=”text/javascript”>
spans = document.getElementsByTagName(‘span’);
number = 0;
for(i=0; i < spans.length; i++){
var c = ” ” + spans[i].className + ” “;
if (c.indexOf(“fullpost”) != -1) {
number++;
}
}
if(number != memory){
document.write(‘<a href=”<$BlogItemPermalinkUrl$>”>Read more…</a><br>’);
}
memory = number;
</script>
</MainOrArchivePage>

For each post that you want to use this feature on, you will need to place this code:
<span class=”fullpost”> </span>

So let’s say that:

Here is the beginning of my post. <span class=”fullpost”>And here is the rest of it. </span>

And that’s it! If you’re wondering if this really works, it does because I just used it on this post.. Hope you enjoy it… and stay tuned I will also show you how to hack the show/hide posts hack.. Until then…



Paypal is now available in the Philippines !!!

Posted on the October 14th, 2006 under ramblings,the web by rayland

Paypal is now available in the Phillippines!

However it is still not possible to load your account thru credit card, receive funds, or withdraw funds into a local bank account.

This is good considering that we can now pay online through Paypal but with all the constraints, this is still not what i need, which is to pay and recieve money… ^_^ It’s a good start though…

For more info, visit the paypalnow blog.

EDIT: The only thing we could do is pay via paypal with a limit of USD100..



finally!!

Posted on the September 22nd, 2006 under ramblings by rayland

its been two days since our office connection problem, and im just happy to say that WOHOOO the PLDT connection is back!!! now we don’t have to share the 384kbps speed of the backup globelines connection with over 30 computer units.. *sigh* anyways, i just wish that they would also upgrade the globelines plan to a higher bandwidth and have both connections working at the same time.. half of the office running on pldt, the other half on globelines… hehehe!! just to releive the PLDT connection a little more.. hehe!


Your Ad Here

what happened to the connection?

Posted on the September 20th, 2006 under ramblings by rayland

hmmm… It’s just another one of those days wherein our office connection is slowed to a crawl… This is really bad since I cannot work… Now I have to do some make up work on Saturday… I’ll just have to be patient then… As they say, patience is a virtue. hehe! That’s all for now as I may not be able to publish this entry due to the connection…. hehehe! Wish me luck… ^__^


Your Ad Here

my new blog…

Posted on the September 19th, 2006 under ramblings by rayland

Hello to all… I don’t really have much to say… Actually I feel kind of tired since I just got home from work. It’s like I never get to leave the computer.

Anyways, i’m just happy that i finally got this blog of mine set up and ready to go. Well at least for the preliminary stage..

That’s all for now. I had better get some sleep!!


Your Ad Here