Tube Import Problem

Post Reply
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Tube Import Problem

Post by tubeman »

Hi,
When running Tubeimport I see some galleries coming in with empty titles and then the script adds "admin added" to these titles. How do I avoid galleries with empty titles from being grabbed?

Regards
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Tube Import Problem

Post by admin »

2 options pop up in my mind right now

1. if you use 'filter keywords" to detect categories you can skip those galleries as they won't belong to any category
2. you can filter such galleries before import set ie

create gate.php where you load and filter such galleries
and then add gate.php as importset
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Tube Import Problem

Post by tubeman »

These are galleries that are being fetched from scj grabber based on filter keywords using TubeImport.
What code do I put exactly in gate.php and how do I run it as a importset to prevent this from happening?
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Tube Import Problem

Post by admin »

Ah, then you can not use "gate" method then ..

But if you use filter keywords how it happens then galleries w/o a description get into category ?
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Tube Import Problem

Post by tubeman »

I managed it with import replacements. I have a dump but in that dump many titles of the galleries are same which create duplicate slugs, is there anyway I can set an import replacement or any other way to avoid script from importing galleries having same titles?
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Tube Import Problem

Post by admin »

Did you try

Check for dupe description
ie check if we already have galleries with the same description
default - No

?
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Tube Import Problem

Post by tubeman »

Hi,
This option:

Check for dupe description
ie check if we already have galleries with the same description
default - No

If set to "No" will prevent galleries with duplicate "Alt Titles" or "Descriptions" from being imported into script or does this only work for descriptions field?

AND:
Check for dupe thumbs
script calculates MD5 check summ for each created thumb
if we already have the same MD5 - this usually means that thumb was created
from the same content
for example, FHG with the same content but diff. design/url
Set:No

If set to No will prevent galleries with duplicate thumbs to be imported into script?

Regards,
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Tube Import Problem

Post by admin »

No - means it's off
You have to set it on (yes)
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Tube Import Problem

Post by tubeman »

So If I set yes for both the options it will not import galleries with duplicate titles/descriptions and also not import galleries with duplicate thumbs?
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Tube Import Problem

Post by admin »

Yes
You can check it by manually importing the same 2 galleries (check gallery_grabber.log )
Don't forget to run script update
Post Reply