Cs50 Mashup Deprecated Google News Feed
Questions tagged [mashup]
Pset8, addMarker not working
After looking at the suggested sites in the spec, I wrote the code for the addMarker function, and no matter what I can't get the markers to show up on the map in mashup. To me, the code looks 100% ...
pset8 2015 Mashup addMarker
I've got myself quite confused with the addMarker function in the 2015 pset8 Mashup. Am I correct in thinking the addMarker function should take one single place from the JSON returned from search....
1 vote
1 answer
166 views
No accuracy field in us.txt
I am writing import.php at the moment. There should be an accuracy field in us.txt, according to readme.txt. But I can't find any in us.txt. There is also accuracy field in table 'places'. How should ...
Mashup - AddMarker not creating a marker
I've seen similar posts about this but mine does seem to be related to the db as my latitude and longitude come back okay. Also I am not initializing the map. As far as I understand the map is ...
1 vote
1 answer
140 views
PSET8 - Error: near "wc": syntax error
I am trying to execute the command : wc -l US.txt inside the sqlite3 terminal but I keep getting the following error: Error: near "wc": syntax error This is the sequel of the commands I am trying ...
PSET8: addmarker: uncaught type error
I am currently working on Pset8 and just managed to implement the addmarker function. However, when I try to implement the getJSON part, the mashup gives me a Uncaught Type error: cannot read ...
1 vote
1 answer
102 views
Driver error in the CS50 library
I am currently having a technical problem getting started with CS50 pset8. I intiailly had problems in the CS50 IDE window when I tried to import the file US.txt in to the MySQL phpMyAdmin database ...
jsonify not working when I add this line of code <<db = SQL("sqlite:///mashup.db")>> to application.py
I am trying to return a JSON on a certain URL in python application. Without this line db = SQL("sqlite:///mashup.db") everything works. The JSON is returned correctly. If I uncomment that line, ...
My articles do not match with the staff articles
I implemented articles in application.py, but the articles I get have nothing in common with the staff articles for the same Postal Code 02138 https://ide50-username.cs50.io/articles?geo=02138 http:...
Pset8 - mashup (2018 or 2017): Downloading distribution code does not include txt files
I'm having some issues with downloading the distribution code for Pset8 (mashup). I am getting everything except US.txt and readme.txt. I do get the other text file, requirements.txt. Is anyone ...
0 votes
2 answers
406 views
pset8, mashup: Please, I'm I doing wrong here
enter code hereI am trying to import the US.txt into my table but it fails and gives me this error message: CREATE TABLE places(...) failed: duplicate column name: sqlite> This is how my table ...
0 votes
1 answer
859 views
CS50 Mashup: addMarker clarification
Been struggling with pset8 for a few days now. I've many problems here but I guess the main one is I'm not seeing my markers properly, not to mention that the infoWindow isn't happening... I've some ...
pset8, import. Only even row numbers from US.txt are being written to db
I managed to import file from US.txt to places table and all seems ok, except that only rows from even numbers in file are being imported. Instead of 40975 rows I have 20487. I tried with while loop(...
PSET8 - MASHUP : Can't find FULLTEXT indexes when using WITH QUERY EXPANSION
I'm working on the final pset, more specifically on the search.php file. I've figured out how to use query() and I'm actually taking advantage of print(json_encode($places, JSON_PRETTY_PRINT)); to ...
0 votes
2 answers
2k views
$.getJSON in PSET8 mashup's addMarker function in scripts.js
I am attempting to retrieve the array containing news articles for my marker infoWindow in the addMarker function using the following code snippet: var parameter{ geo: place.postal_code } $....
Source: https://cs50.stackexchange.com/questions/tagged/mashup?sort=votes&page=2
0 Response to "Cs50 Mashup Deprecated Google News Feed"
Post a Comment