Trying to extract data from another websites permalink. How? - html

I am wondering how one would go about using a permalink from another website to extract data about that particular permalink, especially in the case of looking for specific information. Kind of how youtube has websites that essentially use the link to the video to download and convert it to mp3 format. Its for a college project in HTML5, but upon researching the subject (for about a week) I didnt come up with alot of information on how to go about it using html. Any help in advance will be appreciated. Just basic structure is necessary. im not good or anything, I just want to actually learn, so i need some directional pointing that way i get on the right track.
Thanks in advance :)
Oh and to be more direct, I mean in such a way as to list certain products at the price they are being listed on the site they are being listed on. However, from within my own site. (all in html...)Figured I should be more direct.

Those websites that extract audio from Youtube probably doing it using Python or something similar
This might help you.

Related

Tool to Quickly create an unordered list with url links

first time here, forgive my ignorance.
I am hoping a tool or process exists where I can plug in a list of titles and urls, and it spits out an html document with an unordered list with hyperlinked titles.
The use case here is that I'm building a website to display a digital version of a print magazine. Each issue requires a contents list in the sidebar, which I am creating with html. It's a fairly tedious process at the moment, and I'd love to find or create a tool that could make it quicker (particularly as I'll be handing it off to someone else on the team at some stage)
All ideas gratefully accepted
Not exactly sure I understand your question correctly. But if you want to iterate through a list of something you cannot do it with HTML alone as you would need JavaScript.
Have you tried Google Sheets? You can plug in your data, format it how you like and then export it as .html file.
Best,
Chris

How to make a link url go through another page when clicked HTML

I'm sorry I do not know how to word that title better. I have tried searching google but my terminology isn't helping my results.
Let me explain the context. When you're on a news website or blog and you're on their homepage like: www.homepage.co.uk/ and then you click an article it will go somewhere like this: www.homepage.co.uk/2017/article/ how do they make the 2017 appear? because if you remove the /article/ from the url it takes you to an archive of all the links in that year? I don't understand, is there a process to this?
When I click a link in my website it goes to: www.website.co.uk/link
I want to be able to have that 2017/link/ in the url so they can find the archive of that year just like on their websites?
How do I do this?
I am sorry if I am not explaining this very well.
I understand changing my filenames to : "2017/article.html" might work but I do not believe that is the correct way of doing it?
Thanks a lot for your time and suggestions!
You're asking about a couple of things: one is the taxonomy of the site. Taxonomy, if you don't know, is the "shape" of or how your site is organized. News sites, for instance, are usually organized by date and perhaps topic (Health and Leisure, Politics, Entertainment, etc.). The other aspect of your question is regarding what you might call RESful "hacking" of URLs. One of the tenents of REST is that URLS (uri, to be accurate) are supposed to be hackable. A news site might have /2017/10/10 to display all articles for Oct 10. Maybe you remove the last "10", and get all the articles for October so far. If you are not using a site platform that does this for you, you will have to maintain that taxonomy yourself, and manually write all the links. Systems such as Drupal and Joomla, among others, will translate your taxonomy into automatically-maintained links. In editing a page on one of these platforms, you typically only refer to the system's internal name of the page (could be a shortened version of the article's title in the above example), and the underlying engine takes care of reconstructing the URL for you (in case the page moves, or its tags/taxonomy changes).
This is a big topic, and I encourage you to do some further reading:
http://searchcontentmanagement.techtarget.com/feature/Building-a-website-taxonomy-in-eight-steps
https://www.drupal.org/docs/7/organizing-content-with-taxonomies/organizing-content-with-taxonomies

Embedding multiple pages within one page, possible?

I wanted to make a webpage with three columns, one for my youtube feed, one for reddit, and one for a meme site undecided. I assumed this would be very simple using iframes, oh ho so wrong. I had no idea about the security google, facebook, reddit and others had taken to stop people from using iframes for their sites. Seeing no easy way to circumvent this issue I hope that the good people at stack overflow might have some knowledge of how I can do this.
Note, i also tried rss feeds. Found this very messy but if someone knows of a good way to do it please let me know
You could use their API'S and convert the answer to your API reuqest to JSON so you can parse that as a video. That way you won't have to use iFrames. I hope this helps.

Store a list of links from a website

I am truly sorry if here is not the place to ask such questions, I'm a fairly new web developer (AngularJS, yaaay!), and I don't even know if what I'm asking is silly or not.
I want to build a web-app for my brother who is a car-retailer. So I have this website http://www.carrs-automobiles.com/ (sorry, french website, you can laugh at the spelling mistake, they are English wannabes) and I want to access the list of direct links to their cars.
So I used the inspect element in order to know where, in the html document, the link is.
Problem is, now that I have on one side the html tree and on the other side the $get method, I don't really know how I can build the list of car-links. Maybe is there a simpler method than running all the way down this huge tree?
Any hint or help is welcomed.
Thanks for your time, have a good day,
Fabien
EDIT: just to be clear about the goal of this. I want to store links in order to access them one by one, and display images of cars in a ng-view, if that's a malpractice please feel free to tell me.

Flash parser for html

As I was working on this project for a friend of mine who is terrified of changing from HTML to flash, I realized that maybe there could be a bridge between them. So I started working on a flash project that would grab the HTML from his page and parse it to display it in flash. Although I am sure there are resources available for this already, I figured that the experts on SO might be willing to suffer through the logic of one user trying to develop this script.
So basically, I am not asking for an answer, I am asking for some step-by-step direction that could be posted so other people could see the logic behind breaking down this project. I think it would be really useful (not just for me, but for anyone wanting to learn more about objects and oop).
So, much like the thread between primarily Senocular and Rampage, this would be a thread where I would be the student asking the questions in a logical step-by-step manner and someone else (or someones else) could provide guidance.
Let me know if you are interested and I can start by posting what I have already written. We can go from there and I am sure it will prove insightful to anyone who reads it. If no one is interested, or no one has the time or inclination, no problem.
Best wishes,
Jase
Who in their right mind would change from html to flash for displaying a simple website? I don't see the logic behind it, it's more like you are trying too hard. Flash has its function in the web, as well as html does. If it's just for simple displaying, using flash is just the wrong way and won't make your website any better but worse because its loading time will be too long.
Goole Search retrieved these:
HTMLWrapper
Groe.org HTMLParser
There is an article about the 1st on *drawlogic. I think the seconds' home is on sourceforge here.
Thing is, browsers already do a fine job at parsing html code. Having the flash player parse html files not only does away with any accessibility advantage your markup can offer but it also feels like reinventing the wheel. If you need to display html content, leave it to the browser.
Slightly offtopic - Flashpaper can convert most HTML pages into swf format.
Given properly "disciplined" HTML, you can use the XML parser in the player for the basic parsing. Are you really talking about writing an HTML renderer in Flash though? Or just being able to pull information from HTML dynamically?