火车采集器软件交流官方论坛

 找回密码
 加入会员
搜索
火车采集器V9版免费下载火车浏览器 - 可视采集,万能群发,全自动脚本工具
查看: 4062|回复: 5

DEDE5.6新增自定义字段模块..

[复制链接]
发表于 2010-8-30 20:43:46 | 显示全部楼层 |阅读模式
看了 http://bbs.locoy.com/viewthread. ... B%D7%D4%B6%A8%D2%E5

这个贴子可这是5.1的系统.现在是5.6了.
都成了
  1. -----------------------------7dlocoyspider
  2. Content-Disposition: form-data; name="title"

  3. [标签:标题]
  4. -----------------------------7dlocoyspider
  5. Content-Disposition: form-data; name="shorttitle"


  6. -----------------------------7dlocoyspider
  7. Content-Disposition: form-data; name="flags[]"


  8. -----------------------------7dlocoyspider
  9. Content-Disposition: form-data; name="tags"

  10. [标签:关键字]
  11. -----------------------------7dlocoyspider
  12. Content-Disposition: form-data; name="picname"

  13. [标签:缩略图]
  14. -----------------------------7dlocoyspider
  15. Content-Disposition: form-data; name="ddisremote"

  16. 0
  17. -----------------------------7dlocoyspider
  18. Content-Disposition: form-data; name="source"

  19. [标签:出处]
  20. -----------------------------7dlocoyspider
  21. Content-Disposition: form-data; name="writer"

  22. [标签:作者]
  23. -----------------------------7dlocoyspider
  24. Content-Disposition: form-data; name="typeid"

  25. [分类ID]
  26. -----------------------------7dlocoyspider
  27. Content-Disposition: form-data; name="remote"

  28. 1
  29. -----------------------------7dlocoyspider
  30. Content-Disposition: form-data; name="dellink"

  31. 1
  32. -----------------------------7dlocoyspider
  33. Content-Disposition: form-data; name="autolitpic"

  34. 1
  35. -----------------------------7dlocoyspider
  36. Content-Disposition: form-data; name="sptype"

  37. hand
  38. -----------------------------7dlocoyspider
  39. Content-Disposition: form-data; name="spsize"

  40. 5
  41. -----------------------------7dlocoyspider
  42. Content-Disposition: form-data; name="body"

  43. [标签:内容]
  44. -----------------------------7dlocoyspider
  45. Content-Disposition: form-data; name="notpost"

  46. 0
  47. -----------------------------7dlocoyspider
  48. Content-Disposition: form-data; name="sortup"

  49. 0
  50. -----------------------------7dlocoyspider
  51. Content-Disposition: form-data; name="color"


  52. -----------------------------7dlocoyspider
  53. Content-Disposition: form-data; name="arcrank"

  54. 0
  55. -----------------------------7dlocoyspider
  56. Content-Disposition: form-data; name="ishtml"

  57. 1
  58. -----------------------------7dlocoyspider
  59. Content-Disposition: form-data; name="pubdate"

  60. [系统时间戳]
  61. -----------------------------7dlocoyspider
  62. Content-Disposition: form-data; name="money"

  63. 0
  64. -----------------------------7dlocoyspider
  65. Content-Disposition: form-data; name="keywords"

  66. [标签:关键字]
  67. -----------------------------7dlocoyspider
  68. Content-Disposition: form-data; name="autokey"

  69. 1
  70. -----------------------------7da1863030280
  71. Content-Disposition: form-data; name="music_url"

  72. [标签:下载地址]
  73. -----------------------------7dlocoyspider
  74. Content-Disposition: form-data; name="description"


  75. -----------------------------7dlocoyspider
  76. Content-Disposition: form-data; name="filename"


  77. -----------------------------7dlocoyspider
  78. Content-Disposition: form-data; name="channelid"

  79. 1
  80. -----------------------------7dlocoyspider
  81. Content-Disposition: form-data; name="dopost";

  82. save
  83. -----------------------------7dlocoyspider
  84. &dede_addonarticle=music_url%2Ctext%3B
复制代码
这样的东东了.不知道怎么写自定义字段模块了啊...
那个高手教下..
我加了这个&dede_addonarticle=music_url%2Ctext%3B 可是还是没内容.
 楼主| 发表于 2010-8-30 21:14:33 | 显示全部楼层
  1. 自定义字段添加方法
  2. -----------------------------7dlocoyspider
  3. Content-Disposition: form-data; name="dede_addonfields"

  4. mianji,text;jiage,text;leixing,select;diqu,select;ren,text;dianhua,text;dizhi,text;shouji,text[在此添加新的字段名]

  5. 且要添加新的字段参数和值

  6. -----------------------------7dlocoyspider
  7. Content-Disposition: form-data; name="字段参数"

复制代码
Content-Disposition: form-data; name="dede_addonfields"   我是在普通文章里直接加的字段.是不是要改成  name="dede_addonarticle"
发表于 2010-8-31 13:01:19 | 显示全部楼层
&dede_addonfields=music_url%2Ctext%3B
发表于 2010-8-31 15:18:29 | 显示全部楼层
2 楼正解。。。。。
发表于 2010-9-15 12:51:11 | 显示全部楼层
还是不行 咋搞的呢 唉
发表于 2010-9-16 13:39:35 | 显示全部楼层
帮顶个 同样求解
您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

QQ|手机版|Archiver|火车采集器官方站 ( 皖ICP备06000549 )

GMT+8, 2024-11-22 23:50

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表