SHARE
TWEET

Untitled

a guest May 15th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React, { Component } from 'react';
  2. import * as jsPDF from 'jspdf';
  3. import * as Blob from 'blob';
  4. import './App.css';
  5. import downloader from  './new';
  6. var BookFields = [
  7.   {
  8.     "user_email": "mail.sandeshbhusal@gmail.com",
  9.     "type_of_article": "research-paper",
  10.     "title": "Awesome Research in our software",
  11.     "issn": "9772434561006",
  12.     "doi": "/GFZ.GEOFON.gfz2009kciu ",
  13.     "authors": "Prasanga Dhungel, Sandesh Kumar Bhusal",
  14.     "link_for_article": "google.com",
  15.     "location_of_conference": "Somewhere",
  16.     "page_number": "35",
  17.     "name_of_journal": "South park journal",
  18.     "volume": "Volume IV",
  19.     "impact_factor": "1",
  20.     "isbn": "101011121",
  21.     "date": "1998-05-18",
  22.     "_id": "Wdqhke4jxgMMlVGq"
  23.   },
  24.   {
  25.     "user_email": "mail.prasanga@gmail.com",
  26.     "type_of_article": "research-paper",
  27.     "title": "Artificial Neurons in ML",
  28.     "issn": "9772434561006",
  29.     "doi": "/GFZ.GEOFON.gfz2009kciu ",
  30.     "authors": "Bedh Raj Dhungel, Sandesh Kumar Bhusal",
  31.     "link_for_article": "google.com",
  32.     "location_of_conference": "Somewhere",
  33.     "page_number": "35",
  34.     "name_of_journal": "South park journal",
  35.     "volume": "Volume IV",
  36.     "impact_factor": "1",
  37.     "isbn": "101011121",
  38.     "date": "1998-05-18",
  39.     "_id": "Wdqhke4jxgMMlVGq"
  40.   }
  41.   ];
  42.  
  43.   var newFields = [
  44.     {
  45.       "type": "research-paper",
  46.       "authors": "Pravesh Gaire, Sandesh Bhusal",
  47.       "title": "Some title in the Paper",
  48.       "city": "Bhaktapur",
  49.       "year": "2019",
  50.       "month": "July",
  51.       "publisher": "Ekta",
  52.       "pages": "100",
  53.       "journal_name": "Jname",
  54.       "chapter_title": "In the end",
  55.       "_id": "VJgGuSSCDQaps6D2"
  56.     },
  57.     {
  58.       "type": "research-paper",
  59.       "authors": "Sandesh Bhusal, Prasanga Dhungel",
  60.       "title": "The beginning of something new",
  61.       "city": "Kathmandu",
  62.       "year": "2015",
  63.       "publisher": "Ekta Publication",
  64.       "_id": "gpci3ovzEdBAYmqz"
  65.     }
  66.   ]
  67.  
  68.  
  69.  
  70.  
  71. downloader(newFields,'ieee', 'pdf');
  72.  
  73.  
  74. class App extends Component {
  75.     constructor(props){
  76.     }
  77.  
  78.     render() {
  79.         return (
  80.         <div className="App">
  81.             <br/><br/>
  82.             Coelho, Paulo. <i>The Alchemist.</i> San Francisco, 1998. Print.<br /><br/>
  83.             Dickens, Charles. <i>Great Expectations.</i> New York, 1942. Print.<br /><br />
  84.         </div>
  85.         );
  86.     }
  87. }
  88.  
  89. export default App;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top