Git Product home page Git Product logo

podcast-finder's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @altays
  • ๐Ÿ‘€ Iโ€™m interested in DIY electronics, abstract art, many flavors of electronic music, and finding ways to intersect these with emerging technologies
  • ๐ŸŒฑ Iโ€™m currently doing too many things!

podcast-finder's People

Contributors

altays avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

podcast-finder's Issues

Controllers

  • create controller placeholders
  • return JSON from Express request
  • incorporate mongoose
  • test API
  • set GET route to read data from database
  • set POST route to add data to database

create routes

  • include routes folder in application
  • determine what routes will be used
  • finding based on query
  • finding random entries on load or empty query,
  • adding entries (for web scraper)

Modify views

  • in index, post a message when no podcasts are available
  • make error page look nicer

Prototype Front End

Sketch out ideas for front end based on different frameworks

get perspectives from leadership team

Connecting front end call into rendering

  • in script.js, create a render function with the param API call, index template
  • consider exporting render function from script,js, importing into controllers file
  • if there is a CORS issue, consider using a proxy server?

Set up Express Project

  • Express engine - pug template, gitignore

  • Materialize js and css files in public folder

  • modify file structure to reflect Getting Mean text

Create a web crawler to dynamically update database

Utilize RSS to JSON to grab rss feeds, parse through

Develop an algorithm that, for every entry, will...

  • create an object with all relevant database fields
  • starting from the first episode, add an "episode Number" for updating
  • make a post request
  • sanitize JSON output to remove any HTML elements from episode description
  • look into libraries for removing HTML elements from strings
  • get rss feeds, web page links for other podcasts to include
  • run the algorithm on a timer, to regularly update

Create a skeleton of the project

Wait until minor issues are cleared up!

  • break down different parts of app for a better understanding of things
  • determine any alternative technologies that could work
  • create blank template of project for future use

Research different ways to make api call from front end

Currently using an event handler to change the URL, pulling the data from the search bar and plugging it into the API call

  • figure out how to integrate the button - so that when clicking enter, it still works / doesn't automatically revert back to the main page

Figure out how to delete rendered cards from the view

  • add a symbol to each card template accessible from overview or details view

  • use JS DOM methods to target whichever symbol is selected

  • when symbol is clicked on, remove that entire card (up to the div with the col class)

  • modify revealed cards so that they are on a different line than the title (otherwise this breaks the layout of each card)

Test End Points

Need to find all RSS feed links for podcasts

need to figure out how to pull information from RSS feeds, convert into JSON

  • rss-to-json package pulls out data wonderfully
  • delivers an "items" array with every podcast episode
  • allows for access to podcast episode, description, etc. without too much object-dredging

create dummy data for later stages

Research ways to maintain search history, and use that to populate an auto complete dropdown

  • get autocomplete example working

  • local storage - checking if entries in storage, if not, storing and loading in default values

  • local storage - saving value from form to local storage

for the view, check out Materialize autocomplete: https://materializecss.com/autocomplete.html

for storing data, consider using local storage: https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API

Making views "smarter"

Create json file with episode data for 6 other podcasts

get thumbnails for 6 other podcasts

render cards based on data from json

Searching from front end

  • in public/script.js, target search bar and pull values from it
  • delimiting pulled values with ampersands
  • plugging concatenated parameters into API call
  • test to see if data is returning from that call

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.