public static void main(String[] args) {
		//ObjectFactory objFact = new ObjectFactory();
		String movie = "";
		TrivPost item = null;
		while(true)
		{

			movie = CLib.input("Movie ID:");
			//JAXBContext context = null;
			try {
				/*context = JAXBContext.newInstance(Root.class);
				File file = new File("./omdbapi_text.xml");
		        System.out.println("Unmarshaling...");
		        Root r = (Root) context.createUnmarshaller().unmarshal(file);*/
				JAXBContext jc = JAXBContext.newInstance(Trivia.class);
			       Unmarshaller u = jc.createUnmarshaller();
			       URL url = new URL( "http://10.0.1.92/getData.php?movieID=" + movie);
			       Trivia as = (Trivia) u.unmarshal(url);
		        if(as != null)
		        {
		        	for(int i = 0; i < as.trivPost.size(); i++)
		        	{
		        		TrivPost tp = as.getTrivPost().get(i);
		        		System.out.println("ID: " + tp.getId() + " FromTime: " + tp.getFromTime() + " ToTime: " + tp.getToTime() + " Text: Did you know... " + tp.getTriviaText());
		        	}
		        }
		        System.out.println("Data my API");
			} catch (JAXBException e) {
				e.printStackTrace();
			} catch (MalformedURLException e) {
				e.printStackTrace();
			}
			
		}
	}