diff --git a/README.md b/README.md index 215978d..8fa0006 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ - [var jsdomain](#var-jsdomain) - [vars jslink and jsiteration](#vars-jslink-and-jsiteration) - [example1 jslink and jsiteration](#example1-jslink-and-jsiteration) + - [display](#display) + - [another tip](#another-tip) - [var parent](#var-parent) - [example1 parent](#example1-parent) - [vars children](#vars-children) @@ -266,6 +268,16 @@ This line is present two times in the code. One for downloading the pages with t After finding and jumping to "display" with ctrl-w, go down some lines, and issue ctrl-w again. Or find out in the manual how to jump to the next occurance, I knew it once. +#### another tip + +In main.py, where the spiders code gets loaded, you have also a function available called + +``` +spider.find_config_parameter(list_of_fdbs) +``` + +This function helps you to find the right config parameters, because it shows you what you get. That can be a bit tricky, because if you get nothing, it does not really help you. But when you have the first ones running, it shows you exactly that: That its always possible and no magic needed. + #### var parent The parent stands for the last xml element which contains the entry links. Go with the Inspector on the entry respectively one of the links, klick on it and klick in the code view afterwards. Now use the arrow up key to get to the last child before it comes to the parent. You can see it on the rendered html blue contained.