-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rlfx
committed
Oct 4, 2022
1 parent
5f5d6df
commit dbbfc36
Showing
5 changed files
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ dist | |
dist-ssr | ||
certs | ||
*.local | ||
public/sample.rss | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,22 +6,23 @@ | |
function HandleURL(event) { | ||
let url = event.target.elements.URLinput.value; | ||
window.location.assign(window.location.protocol + '//' + window.location.host + '/?URL=' + url); | ||
window.location.assign(window.location.protocol + '//' + window.location.host + window.location.pathname + '?URL=' + url); | ||
} | ||
</script> | ||
|
||
<div class="root"> | ||
<div> | ||
<!-- Classname says what mode the user prefers, --> | ||
<!-- Image suffix says what color the image hero is. --> | ||
<!-- Classname says what mode the user prefers, --> | ||
<!-- Image suffix says what color the image hero is. --> | ||
<img class="logo-dark hero" src="./[email protected]" alt="rx-//RSS"> | ||
<img class="logo-light hero" src="./[email protected]" alt="rx-//RSS"> | ||
<img class="logo-light hero" src="./[email protected]" alt="rx-//RSS"> | ||
</div> | ||
<h1>Welcome to my RSS client, Add an RSS URL below.</h1> | ||
<form on:submit|preventDefault={HandleURL}> | ||
<input type="url" id="URLinput" placeholder="https://example.com/index.php?show=rss"> | ||
<input type="url" id="URLinput" placeholder="https://example.com/feed.rss"> | ||
<button type="submit">See the feed from URL</button> | ||
</form> | ||
<br> | ||
|