It is currently March 28th, 2024, 8:10 pm



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Make adding topics easier - support more patterns.
PostPosted: November 9th, 2015, 5:25 pm 

Joined: May 17th, 2015, 10:35 am
Posts: 216
Hello,

one of the main reasons I still do a lot of manual posting is the lack of searching for existing threads for a release (there is already a ---> suggestion thread for this so I won't talk about it here) and second that adding topics is quite hard.

Example: [self-censored].com/thread/38-supernatural-s05-german-dl-ws-bdrip-xvid-gdr-4182181/

Adding this easy looking one into the ID extractor in TP fails with the message "Didn't found the ID in the URL". For me it almost never works, that's really frustrating.

Suggestion: Let the user define regex for TID extraction per site (the URLs look all different probably because of different SEO tuning strategies so it must be site dependent) so the success rate for TID extraction raises.

I'd be really thankful for for such a comparingly smaller solution until you start implementing a search panel. right now I search in browser, copy & paste the URL, get an error and have to extract the pure TID with other tools and paste again. That could be a lot easier :-)

And please fix the typo, it should be "Didn't find the ID in the URL". ;-)

Wurstmu

EDIT: This could also improve "fetch topics" in Thema Manager as well.


Top
 Profile  
Reply with quote  
 Post subject: Re: Make adding topics easier
PostPosted: November 9th, 2015, 5:32 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
At the moment it only looks for t=ID, showtopic=ID , tid=ID , Thread=ID, etc.

I'm planning to improve ID extraction from URL.

Probably as much as even visiting the URL to see if the ID can be found in HTML source if it doesn't appear in URL (some forums don't have the ID in main topic URL).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Make adding topics easier.
PostPosted: November 14th, 2015, 2:51 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Added some more supported patterns (basically which you mentioned):
* if ends with -ID/
* if ends with .ID/
* if has, last of /ID-

Also made so that it would parse the ID from URL when focus is lost from the field, so you can click on "Title" field or needed group without clicking on the button to parse URL.

Also fixed the typo.

For 2.40 final.

If there are some other patterns which are not added just let me know.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Make adding topics easier - support more patterns.
PostPosted: November 14th, 2015, 10:25 am 

Joined: May 17th, 2015, 10:35 am
Posts: 216
Thanks a lot! The additional improvement is a very good idea also, looking forward to get 2.40.

Will you add those patterns also to TM when you start working on it again?

Wurstmu


Top
 Profile  
Reply with quote  
 Post subject: Re: Make adding topics easier - support more patterns.
PostPosted: November 14th, 2015, 10:41 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Yes...

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC