It is currently May 16th, 2025, 1:52 am



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Add Date To Subject From Message Text.
PostPosted: December 11th, 2024, 9:45 am 

Joined: November 23rd, 2014, 6:31 am
Posts: 305
Hi,

I am leeching messages from data18.com sorted by tags and it works fine but I am looking for a way to add the release date to the subject it TL.

The date is in 2 places - the front of the post and inside the post

https://www.data18.com/tags/black-men
https://www.data18.com/scenes/1350748

Is there any way to add the release date as the start of the subject ?

Preferrably - January 10, 2025 should be added like this 2025.01.10 - Subject title here


Top
 Profile  
Reply with quote  
 Post subject: Re: Add Date To Subject
PostPosted: December 12th, 2024, 8:00 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13193
Location: Earth
Hi,

you can do that with replacement with option "Search in message append to subject" enabled.

Make sure your "Message" selector includes the date in the message text (after leeching the date is inside).

Add this replacement in "REPLACEMENTS" -> "Subject" tab ->

Search for:
Code:
(\w+ [0-9]{1,2}, [0-9]{4})


Replace with:
Code:
$1 -


Enable regex search.

Enable "Search in message append to subject" -> "at start".

After adding assign that replacement only for that website in "WEBSITES" -> select that site -> "Replacements" tab -> "Subject".

This will make it like this:
Code:
January 10, 2025 - Alexa Nova in Interracial Pass


You can re-arrange it by adding one more replacement (add as second it be applied after the first, regex replacement, without that special option enabled):

Search for:
Code:
^(\w+) ([0-9]{1,2}), ([0-9]{4})


Replace with:
Code:
$3.$1.$2


Enable regex search.

Assign to that site as well.

This will make:
Code:
2025.January.10 - Alexa Nova in Interracial Pass


And for months you would need to add twelve simple replacements (not regex) to just replace words January with 01, February with 02, etc.

Attaching screenshot how they should look (just without all the months). And you need to assign them for that website.


Attachments:
replacements.png
replacements.png [ 21.11 KiB | Viewed 529 times ]

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Who is online

Users browsing this forum: Bing [Bot] and 87 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:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC