View Single Post
Old 07-09-2022, 06:05 PM   #7295
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,065
Karma: 75568269
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by kolbinski View Post
When I download a story from fanfiction.net can you please add a way so can change the epub so the story says on haitus, abandoned or completed or in-progress. I want to change the tag in the downloaded epub
For hiatus/abandoned, I use Action Chains to update the column from this template. But that's just the Calibre library. ePubs would need to be modified manually.

Code:
program:
now = format_date(today(),'iso');
updated = $$#fanficupdated;
status = $#fanficstatus;


	if 
		status=='In-Progress'
		&& $#fanficerror
	then 
		'Abandoned'
		

	elif
		status=='In-Progress'
		&& days_between(now, updated) ># 180
	then 
		'Dormant'

	else 
		status
	fi

Last edited by ownedbycats; 07-09-2022 at 06:07 PM.
ownedbycats is offline   Reply With Quote