剑明's profile★☆★我很好★☆★PhotosBlogListsMore Tools Help

Blog


    December 18

    如何发布顶置日志?

    如何发布顶置日志?
     
     
    当前MSN Space中的置顶日志全是手动完成的。很繁!经过对MSN Space的研究,找到了较为简单的方法。使用这种方法,不需要保存一个置顶日志的副本,不需要进行粘贴-复制工作,需要做的只是点几个按钮而已!
        本方法的原理同样是采用Edit-It按钮的方法Hack掉客户端提交服务器的一些关键数据,让服务器对提交的数据按照我们的需要进行处理。由于这其中牵涉到一些Web应用程序服务器和客户端交互,以及数据库操作的相关东西,我不想过多讨论该方法的具体实现。
        由于MSN Space已经对网络日志项的内容进行了javascript脚本的过滤,现在无法像以前那样将这个按钮直接做成链接加入到日志中,所以,只有给出执行语句。
    javascript:
    void(gblBEActionUrl = gblSpaceUrl+"PersonalSpace.aspx?_c11_BlogPart_blogpart=blogentry
    &_c=BlogPart&_c02_owner=1&frompart=myspace");
    void(document.all.entryid.value="");
    使用方法:
    1.将上面的语句添加到一个收藏夹链接中,如图(点击查看大图).

    2.打开一个要置顶的日志进行编辑,然后点击你加到收藏夹中的上面的按钮,然后什么都不做,直接点击‘发布项’按钮。如图(点击查看大图).
    3.发布之后页面会转到首页,你会看到服务器添加了刚才日志的一个副本于最新日志,而原来的日志仍然存在,现在只需做的就是删除掉原来的日志即可!如图(点击查看大图).

    当前还没有找到不需要删除原日志而直接将日志置顶的方法。这只是对当手动置顶前操作的一种简化。

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://weifengming.spaces.live.com/blog/cns!7BFC2CF6DB351D99!525.trak
    Weblogs that reference this entry
    • None