乱搞

id="BAIDU_DUP_fp_iframe" src="https://pos.baidu.com/wh/o.htm?ltr=">

CSDN如何转载别人的文章

转载 2016年11月21日 10:17:59

  对于喜欢逛CSDN的人来说,看别人的博客确实能够对自己有不小的提高,有时候看到特别好的博客想转载下载,但是不能一个字一个字的敲了,这时候我们就想快速转载别人的博客,把别人的博客移到自己的空间里面,当然有人会说我们可以收藏博客啊,就不需要转载,(⊙o⊙)… 也对。。

实现

  因为我自己当初想转载的时候却不知道该怎么转载,所以学会了之后就把方法写出来,帮助那些想转载却不知道该怎么转载的人(大神勿笑)。
  我们首先打开要转载的博客,然后鼠标右键就会出现下面的菜单:

这里写图片描述

  我们点击【审查元素】,就会出现当前HTML页面的代码,如下:


  我们选中“article_content”从图片左边我们也可以看到,博客的内容已经被我们选中了,也就是我们想要转载的内容,然后右键,就会出现下面的菜单:

这里写图片描述

  我们选中【Copy as HTML】就可以把其中要转载的内容复制下来,接下来的就是粘贴了。
  我们先新建一篇文章,打开markdown编辑器(因为在普通的编辑器我没有找到方法/(ㄒoㄒ)/~~),然后粘贴一下,就会出现下面的内容:


  可以在右边看到,博客内容已经被转载了,然后发表就可以了。

  最后特别要注意的是,我们发表的时候一定要选择【转载】,尊重原创!!

转载来源 http://blog.csdn.net/bolu1234/article/details/51867099

  • 本文已收录于以下专栏:
zhui_xiuge
  • zhui_xiuge
    2018-02-06 16:38 7楼
  • 怎么照这种方法转载这条链接(http://blog.csdn.net/yhl_leo/article/details/50864612)里的文章,代码前面的编号总会位置出错
boss_yao
  • boss_yao
    2017-12-27 09:46 6楼
  • 您好,发表博客时总是提醒 。“发表博客出现异常,请重试!请勿使用默认标题” 这个默认标题是啥,找不到
m0_37959241






scrolling="no" src="http://pos.baidu.com/s?hei=250&wid=300&di=u3163270&ltu=http%3A%2F%2Fblog.csdn.net%2Fyanmantian%2Farticle%2Fdetails%2F53256765&chi=1&cdo=-1&cce=true&cfv=0&ps=2132x1113&tcn=1519875891&ltr=https%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3D2KO0MitMn8oHF5FRKJwL1tRSLT_RvKRX-VRskWY3pBvOPi2Bsx9ON311y4XSb4G2q04DMyCHeZr2cHnb7g6H4oajzDwg3EJXTpTKizhAIZO%26wd%3D%26eqid%3D8704c3bf00005af0000000065a977731&cpl=0&dri=0&ccd=24&dc=3&ari=2&dtm=HTML_POST&dai=2&dis=0&cec=UTF-8&ti=CSDN%E5%A6%82%E4%BD%95%E8%BD%AC%E8%BD%BD%E5%88%AB%E4%BA%BA%E7%9A%84%E6%96%87%E7%AB%A0%20-%20CSDN%E5%8D%9A%E5%AE%A2&tlm=1519875891&cja=false&col=zh-CN&pcs=1583x763&tpr=1519875891320&exps=111000&cmi=0&psr=1600x900&par=1600x860&ant=0&pss=1583x2613&drs=1&pis=-1x-1" width="300" height="250">





收藏助手
src="" id="collectIframe" scrolling="no" width="100%" height="360">
不良信息举报
您举报文章:CSDN如何转载别人的文章
举报原因:
原文地址:
原因补充:

(最多只允许输入30个字)

<script language="javascript" type="text/javascript">
    var isComment=0;
    //显示隐藏地址
    $(function () {
      console.log("version:phoenix");
        if(isComment){
            $("#report_description").attr("disabled",true);
            $("#sp_n").hide();
            $("#sp_reason").html("评论内容:");
        }
        $(".report_type").click(function () {
            $("#panel_originalurl,#report_other_content").hide();
            switch ($(this).val()) {
                case '3':
                    $("#panel_originalurl").show();
                    $("#originalurl").focus();
                    break;
                case '7':
                    if(isComment){
                        $("#report_other_content").show().focus();
                    }
                    break;
            }

        });

        $("#frmReport").submit(function () {
            if (!currentUserName) {

                if (confirm("您的操作必须登录,是否登录?")) {
                    location.href = "http://passport.csdn.net/account/login?from=" + encodeURIComponent(location.href);
                    return false;
                }
                return false;
            }

            var reportType = $("input[name=report_type]:checked").val();
            if(!reportType){
                alert("请选择举报原因!");
                return false;
            }
            var otherInfo = "";
            switch (reportType) {
                case '3':
                    otherInfo = $("#originalurl").val();
                    if (otherInfo == ""||otherInfo=="http://") {
                        alert("举报抄袭必须提供原创文章地址!");
                        $("#originalurl").focus();
                        return false;
                    } else if(!checkeURL(otherInfo)) {
                        alert("请输入正确的原创文章地址!");
                        $("#originalurl").focus();
                        return false;
                    }
                    break;
                case '7':
                    otherInfo = $("#report_other_content").val();
                    if (isComment && !otherInfo) {
                        alert("请填写举报的具体原因!");
                        $("#report_other_content").focus();
                        return false;
                    }
                    if(!isComment){
                        if(!$("#report_description").val()){
                            alert("请填写举报的具体原因!");
                            $("#report_description").focus();
                            return false;
                        }
                    }
                    break;
            }
            if(!isComment){
                if($("#report_description").val().length>30){
                    alert("举报原因最多只允许输入30个字!");
                    return false;
                }
            }
            nowTime = {
                year: new Date().getFullYear(),
                month: parseInt(new Date().getMonth())+1,
                day: new Date().getDate(),
                hours: parseInt(new Date().getHours())+1,
                minutes: parseInt(new Date().getMinutes())+1,
                seconds: parseInt(new Date().getSeconds())+1
            };
            var data = {
                articleId: fileName,
                commentId: 0,
                reportType: reportType,
                originalurl: $("#originalurl").val(),
                report_other_content: $("#report_other_content").val(),
                report_description: $("#report_description").val(),
                currentUserName: currentUserName,
                updatetime: nowTime.year+'/'+nowTime.month+'/'+nowTime.day+' '+ nowTime.hours+':'+nowTime.minutes+':'+seconds,
                blogUser: username
            };
            if(!isComment){//如果是举报文章
                data.report_other_content = data.report_description;
                // data.report_description = "1. 神经网络这是一个常见的神经网络的图:这是一个常见的三层神经网络的基本构成,Layer L1是输入层,Layer L2是隐含层";
            }

            $.post(blog_address + "/common/report?id="+fileName+"&t=2", data, function (data) {
                if (data.result == 1){
                    SetError("感谢您的举报,我们会尽快审核!");
                }else{
                    if (data.content) alert(data.content);
                }

            });
            return false;
        });

        $("#btnCloseReportDialog").click(function () {
            CloseDiv();
        });

    });

    //提示后关闭方法
    function SetError(error) {
        $("#btnCloseReportDialog").trigger("click");
        alert(error);
        CloseDiv();
    }

    //关闭方法
    function CloseDiv() {

        $.removeMask();
        $("#report_dialog").hide();
        return false;
    }

    //验证url
    function checkeURL(url){
        return /^http(s)?:\/\/([\w-]+\.)+[\w-]+/i.test(url);
    }
</script>



if( (".articlecollectli").length==1)$(".articlecollect").hide();if( ( " . a r t i c l e c o l l e c t l i " ) . l e n g t h == 1 ) $ ( " . a r t i c l e c o l l e c t " ) . h i d e ( ) ; i f ( (".article_tags li").length==1){ (".article_tags").hide();} (".article_tags").hide();} (".edit a").attr("href","http://mp.blog.csdn.net/postedit/"+fileName); .each( . e a c h ( (".edu_li a"),function(){ (this).attr("href", ( t h i s ) . a t t r ( " h r e f " , (this).attr("href").replace("blog7","blog9"))}); new CNick('#uid').showNickname(); if( ("#fan").html()=="")
    {
        $("#fan").html(0);
    }




    appendMark(
("#fan").html()=="")    {        $("#fan").html(0);    }    appendMark(
('.recommend_list').children('a').find('dt'), (.extensionother), ( ′ . e x t e n s i o n o t h e r ′ ) , ('.yd_a_d_feed_cla'))


GoTop({
right: 8,
hasReport: true,
reportFun: function() {
$.createMask();
var r = blog_address + “/common/report?id=” + fileName + “&t=” + 2;
if (3 == 2) {
var s = n.parentNode.parentNode.parentNode.getAttribute(“floor”);
r += “&floor=” + s
}
var i = (document.documentElement.clientHeight - 400) / 2 + (document.documentElement.scrollTop || document.body.scrollTop),
a = (document.documentElement.clientWidth - 400) / 2;

        $("#report_dialog").load(r).css({
            //top: i + "px",
            top: '20%',
            left: a
        }).show()
    }
})

显示当前公式源码

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值