Menu

#105 Multi line support

Next_Release
closed
None
1
2022-12-18
2021-05-01
bim
No

Like I assume you are checking text files to find the difference, can't you support line breaks? I need to check a picture with following text and I can't separate them. Can't currently do that.

Did you think about regex support btw? (I am sure you did. Not sure it would solve my problem.)
Once, I had to put an ignore on an url because a subfolder was randomly changing but the pattern was featured somewhere else with completely different subfolders and I had to live with ignoring all similar urls.

Discussion

  • Morten MacFly

    Morten MacFly - 2021-05-02
    • status: open --> pending
    • assigned_to: Morten MacFly
     
  • Morten MacFly

    Morten MacFly - 2021-05-02

    Can you explain, what line breaks should do? I remove any additional line breaks once you set the flag "clear white space". Coundn't you limit the scope to just the picture an text (using tags) and then filtering?

    Maybe you can provide an except (anonymised if you like) of the construct for me to better understand?

     
  • bim

    bim - 2021-05-02

    I attached what I need as a start tag and what it looks like.

    This red ゲーム icon is used all over the page (yeah, this getchu website, AGAIN!) for various game news and I need to target this specific block that moves toward the end of the page as newer news are stacked on top of the page. I can't select something outside of it because I want to be alerted when a new block filled with new games will appear. The link will appear broken in the interval between two blocks as the website only display like a week of news and those block appear maybe only once a month. (I hope your tool can handle that scenario.)

    The thing is, if I use the icon alone as a start tag: 1/ a wrong icon before any of those blocks will be picked up first, 2/ I can't filter the whole page 3/ I have nothing to put as an end tag as it is a bunch of links in the middle of a sea of alike links.

     
  • Morten MacFly

    Morten MacFly - 2021-05-22

    I tried myself on the webpage. (Although I don't understand a single word. :-)) I made a check-point on the header that is of today:
    <h4 class="update2">5/21(金)更新</h4>

    So I setup a start tag as:
    <h4 class="update
    ...and an end tag as:
    </h4>
    This way I got informed every time something was changed on the page.

    Would that help or why are the red (and not blue, green) icons are of interest?

     
  • bim

    bim - 2021-05-23

    No, that doesn't help, because you will be warned everyday that a daily block of news was created.

    What I want to know is when new games were added to their database. The red icon has "game" written on it.
    However, this red icon is also used for every news related to... games. Meaning, for every little update, like when a trial was released or new samples were added, etc.
    The block of news I am desperately interested in features the red icon and the following text 新作予約開始 (start of reservation for new works) which is also used for other type of icons (orange anime, yellow CD, green goods, etc.).
    Those blocks game icon + reservation start text appear very rarely. For example, it is not currently featured on the current front page because new games are not announced every day on their store.
    I would like to be warned the moment it surfaces at the top.

     

    Last edit: bim 2021-05-23
  • Morten MacFly

    Morten MacFly - 2021-12-12
    • Group: Future_Release --> Invalid
     
  • bim

    bim - 2022-03-13

    I was thinking, but if you can strip whitespaces, can't you strip line breaks too instead of having to find a way to represent line breaks in tags?

    Btw, you marked the ticket as invalid without explaining why...

    As a concrete example to make this issue clearer, using http://www.getchu.com/top.html (don't forget you need a cookie):

    The html I need to tag is:

    <img src="http://www.getchu.com/common/images/li_pc.gif" class="icon">
    
    新作予約開始!
    

    The ゲーム (game) image + LINEBREAK + 新作予約開始! (new work reservation start!).

    The reason why I need this specifically is that, if you check the HTML, you will find both:

    • The right ゲーム/li_pc.gif image but the wrong following text 祝!マスターアップ!(congratulation! master up!). Meaning you can't use the image alone.
    <img src="http://www.getchu.com/common/images/li_pc.gif" class="icon">
    
    <a href="http://www.getchu.com/soft.phtml?id=1166120" class="blue"  >祝!マスターアップ!
    
    • The right following text 新作予約開始! (new work reservation start!) but the wrong li_cd.gif image which is for CD,. Meaning you get new listing for CD, not games, which is not what I want.
    <img src="http://www.getchu.com/common/images/li_cd.gif" class="icon">
    
    新作予約開始!
    
     
    • Korwin

      Korwin - 2022-03-14

      you marked the ticket as invalid without explaining why

      Not invalid:

      Morten MacFly - 2021-05-02
      status: open --> pending

       
  • bim

    bim - 2022-03-14

    Ok, I mixed up

    Group: Future_Release --> Invalid

    with status.

     
  • Morten MacFly

    Morten MacFly - 2022-12-18
    • status: pending --> closed
    • Group: Invalid --> Next_Release
     
  • Morten MacFly

    Morten MacFly - 2022-12-18

    I believe finally this is solved with the implementation of FR#181 ("Allow regex for beginning and end markers"). Therefore I am closing this one, too - due to being implemented in SVN revision #1481.

     

Log in to post a comment.