metadata-and-url feed problem

3 views
Skip to first unread message

elvin de guzman

unread,
Apr 29, 2013, 6:53:20 AM4/29/13
to Google-Search-...@googlegroups.com
Hi,
 
I have this project that automates the feed to gsa box using the metadata-and-url type feed, the strategy is they will be sending an incremental feed by schedule and need to be refresh with a full feed on midnight.
 
My first question is would be is sending the full feed will update all the previous incremental feed? Is there a way to delete the incremental feed and then just load the full feed to gsa?
 
Normally what I do to delete a datasource on GSA is using a the web form and passing a blank "full" feed xml like below:
 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE gsafeed PUBLIC "-//Google//DTD GSA Feeds//EN" ""><gsafeed>
  <header>
    <datasource>PXBGSAFEED</datasource>
    <feedtype>full</feedtype>
  </header>
  <group>
  </group>
</gsafeed>
 
But I have to go the gsa and manually click delete and then destroy, is there any way to do this programatically?
 

Mathias Bierl

unread,
Apr 29, 2013, 6:59:09 AM4/29/13
to Google-Search-...@googlegroups.com
I guess you are misunderstood something here:
full and incremental feeds are feeds which has to include the content.
metadata-and-url feeds just give metadata and the url to GSA and if you want to remove URLs from there then either the url must be non-reachable or you have to send a delete feed

elvin de guzman

unread,
Apr 29, 2013, 7:54:28 AM4/29/13
to Google-Search-...@googlegroups.com
Hi,
 
I tried doing that as well sending something like this
 
<feedtype>metadata-and-url</feedtype>
</header>
<group action="delete">
<record url="https://someurlhere/file.pdf"/>
</group>
 
But i'm getting this error on the feed when loading it "ProcessNode: Invalid record (no content), skipping record."

Jeremy Garreau

unread,
Apr 29, 2013, 11:55:47 AM4/29/13
to Google-Search-...@googlegroups.com
You can't delete a metadata and url type feed.

Mathias Bierl

unread,
Apr 29, 2013, 2:05:29 PM4/29/13
to Google-Search-...@googlegroups.com
@Jeremy
But you can delete documents with a delete action.
Only the full deletion via admin console is not possible.
You can also see this in the documentation

Jeremy Garreau

unread,
Apr 30, 2013, 2:38:34 AM4/30/13
to Google-Search-...@googlegroups.com
Based on the first post, I assumed he was trying to send a delete to a metadata-and-url feeds using a full feeds, seems like I was wrong.

If you just need to refresh the feeds, just send it once again, it should be enough.

elvin de guzman

unread,
May 2, 2013, 5:18:54 AM5/2/13
to Google-Search-...@googlegroups.com
Thanks will do that
Reply all
Reply to author
Forward
0 new messages