This repository was archived by the owner on Nov 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11MC+A Google Java Feeder
22============================
33
4- A port of the MC+A C# Library for developing simple feeders to the Google Search Appliance into Java
4+ A port of the MC+A C# Library for developing simple feeders to the Google Search Appliance into Java.
55
6- Copyright 2013 Michael Cizmar + Associates Ltd. (MC+A)
6+ # Usage
7+
8+ ```
9+ log.info("Begin delete");
10+ String feedFile = "";
11+ GSAUploader uploader = new GSAUploader(log);
12+ GSAFeed myFeed = null;
13+
14+ log.debug("Setting up empty full feed");
15+ myFeed = new GSAFeed(log, this.feedLocation, GSAFeedType.FEEDTYPE_FULL);
16+ myFeed.setDataSource(this.dataSource);
17+ myFeed.BuildHeader();
18+
19+ feedFile = myFeed.WriteXMLToFile(gsa);
20+
21+ log.info("temp xml file saved to: " + feedFile);
22+ uploader.FeedXml(feedFile, gsa, false);
23+ log.info("item submitted to gsa");
24+
25+ uploader = null;
26+ myFeed = null;
27+ ```
28+
29+ # Dependencies
30+ * log4j
31+
32+ # Related Projects
33+ [ GSALib C# SDK for Query GSA] ( http://gsalib.codeplex.com )
34+ [ MC+A C# SDK for GSA] ( http://github.com/mcplusa/mcplusa-google-feeder-csharp/ )
35+
36+ Copyright 2013 Michael Cizmar + Associates Ltd. ([ MC+A] ( http://www.mcplusa.com/ ) )
737
838 Licensed under the Apache License, Version 2.0 (the "License");
939 you may not use this file except in compliance with the License.
You can’t perform that action at this time.
0 commit comments